Issues

Select view

Select search mode

 

Code in graph.cfm creates file location paths with double slashes

Description

GetTempDirectory() already echos a trailing slash. Thus, the code in graph.cfm creates file location paths with double slashes as follows:

On Ubuntu 20.04 LTS:
/somepath/WEB-INF/lucee/temp//graph/5A650255-8EB7-472A-86D943CE97EAD884.png

On Windows:
C:\somepath\WEB-INF\lucee\temp\/graph/E1F8959F-B1F9-4845-8052502D385FEDF7.png

Please see also: https://dev.lucee.org/t/error-graph-cfm/9483

Created this quick PR to remove the preceeding slash for better file path consistency:
https://github.com/lucee/Lucee/pull/1519

Placing LDEV for completeness.

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Priority

Created 13 January 2022 at 22:56
Updated 17 January 2022 at 12:03

Activity

Show:

Flag notifications