Title:
[Linux] expandPath() encoding of filenames lost when using absolute path as argument
| View in TrackerStatus/Resolution/Reason: To Track//PRNeedInfo
Reporter/Name(from Bugbase): Sebastian Thomas / Sebastian Thomas ()
Created: 06/07/2017
Components: File Management
Versions: 2016,11.0,2018
Failure Type: Data Loss
Found In Build/Fixed In Build: 2016.0.04.302561 /
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Linux Red Hat 7.0
Vote Count: 5
Problem Description:
expandpath() loses UTF-8 encoding when using absolute path (starting with `/`) as argument. Encoding is kept when beginning the path with a `.` (dot).
Steps to Reproduce:
<cfdump var="#expandpath("/test-öäü.txt")#" />
Actual Result:
/your/path/to/cfm/test-???.txt
Expected Result:
/your/path/to/cfm/test-öäü.txt
Any Workarounds:
none
Attachments:
Comments: