tracker issue : CF-4198748

select a category, or use search below
(searches all categories and all time range)
Title:

Add getCanonicalPath function

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Peter Freitag / Peter Freitag ()

Created: 05/23/2017

Components: File Management

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: / CF2018HF1, CF2016HF7

Priority/Frequency: Normal /

Locale/System: / Linux

Vote Count: 1

It would be useful to have a builtin getCanonicalPath function which would essentially just call the java.io.File getCanonicalPath function. The canonical path is useful for performing security checks on file paths.

Attachments:

Comments:

Suggested usage: getCanonicalPath("c:\temp\..\test.txt") returns c:\test.txt
Comment by Peter Freitag
688 | May 23, 2017 08:19:19 PM GMT
The fix will be available in the upcoming updates. Thanks!
Comment by S Preethi [X]
29677 | September 10, 2018 07:57:58 AM GMT