Lucee icon indicating copy to clipboard operation
Lucee copied to clipboard

LDEV-3816 - fix from double slash creation for consistent file access in graph.cfm

Open andreasRu opened this issue 3 years ago • 1 comments

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 10: C:\somepath\WEB-INF\lucee\temp\/graph/E1F8959F-B1F9-4845-8052502D385FEDF7.png

This PR removes the preceeding slash for better file path consistency.

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

andreasRu avatar Jan 13 '22 22:01 andreasRu

https://luceeserver.atlassian.net/browse/LDEV-3816

andreasRu avatar Jan 13 '22 22:01 andreasRu

already implemented

michaeloffner avatar Feb 08 '24 14:02 michaeloffner

@andreasRu thanks for your input

michaeloffner avatar Feb 08 '24 14:02 michaeloffner