Details
Assignee
Zac SpitzerZac SpitzerReporter
Zac SpitzerZac SpitzerPriority
NewNew 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
Details
Details
Assignee
Zac Spitzer
Zac SpitzerReporter
Zac Spitzer
Zac SpitzerPriority
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
Created 1 March 2025 at 14:14
Updated 19 March 2025 at 08:15
I have been using
GetDirectoryFromPath(ExpandPath("*.*"))
to get the base path of the site as in the example in https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-e-g/getdirectoryfrompath.htmlHowever, this results in an error with Lucee 6.2.0.321
lucee.runtime.exp.NativeException: Illegal char <*> at index 30: D:\work\lucee6\test\functions\*.* at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:204) at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:175) at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92) at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:231) at java.base/java.io.File.toPath(File.java:2401) at lucee.commons.io.res.type.file.FileResource.getCanonicalPath(FileResource.java:158) at lucee.runtime.functions.system.ExpandPath.toReturnValue(ExpandPath.java:137) at lucee.runtime.functions.system.ExpandPath.call(ExpandPath.java:113) at functions.expandpath_cfc$cf$5.udfCall2(/test/functions/expandpath.cfc:107) at functions.expandpath_cfc$cf$5.udfCall(/test/functions/expandpath.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)