Relative path won't work with CF mapping to /

Description

This is on 5.2.7.34-SNAPSHOT with and without the lucee.mapping.first setting doesn't seem to make any difference. When I load Lucee in JSR-223 on a Mac and create a CF mapping called "/" that points to the physical drive root "/", relative paths do not use the mapping, but rather root in the current working directory.

Here you can see the code at the top is exactly what I'm passing to JSR-223 for execution. I'm creating a CF mapping called / which points to the physical drive root of `/` but when I try to include the path /Users/yogeshmathur/.CommandBox/cfml/system/Bootstrap.cfm Lucee is incorrectly trying to do it from my current working directory in the shell and ignoring my / mapping. Instead, the path is resolving to /Volumes/Macintosh HD 2/Users/yogeshmathur/.CommandBox/cfml/system/Bootstrap.cfm which is not a real path.

The path /Volumes/Macintosh HD 2 was the working directory where the command line started the Java process.

Environment

None

Assignee

Unassigned

Reporter

Brad Wood

Priority

Trivial

Labels

None

Fix versions

None
Configure