directoryList has odd behavior when using 'dot' paths

Description

When I used directoryList('./source') to get files in a subdirectory named source, I noticed I got the right number of results (one each for each file), but the paths were broken. For example:

/home/ray/projects/boxlang/bx-demos/boxlang_quick_tips/images/./source/cat_in_a_box.jpg

Note the period between images (the current directory) and source.

Using ‘source’ or expandPath('./source') returns the correct results.

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created March 19, 2025 at 2:02 PM
Updated March 21, 2025 at 10:34 PM
Resolved March 20, 2025 at 6:08 PM