Issues
- Code in graph.cfm creates file location paths with double slashesLDEV-3816Michael Offner
- /lucee/graph.cfm doesn't need and shouldn't set session cookiesLDEV-3177Resolved issue: LDEV-3177Zac Spitzer
- Disable setting of session cookies CFID and CFToken doesn't workLDEV-3172Resolved issue: LDEV-3172
- Multiple cfimage/captcha Incompatibilities with ACFLDEV-2870
- various image functions crash on headless linux when font packages aren't installedLDEV-2619Michael Offner
- cfimage captcha renderingLDEV-2149Michael Offner
6 of 6
Code in graph.cfm creates file location paths with double slashes
Description
Details
Assignee
Michael OffnerMichael OffnerReporter
Andreas RAndreas RLabels
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
Minor
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Andreas R
Andreas RLabels
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:
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.