expandpath with placeholder on windows drops the trailing /

Description

Environment

None

Activity

Pothys - MitrahSoft 6 January 2025 at 07:49

, I tested this ticket with Lucee version 6.2.0.267-SNAPSHOT. When I tried to check the path using the expandPath() function, the backward slash was correctly placed at the ends, and no issues were encountered. It is now working as expected.

Zac Spitzer 25 December 2024 at 08:36

Zac Spitzer 12 November 2024 at 17:22

but for say a UNC path, then the path char, should come from the specific resource provider?

Zac Spitzer 12 November 2024 at 14:51
Edited

not a regression happens with 5.4, 6.0, 6.1 as well

PR updated with a fix, passes locally on windows and on github

Zac Spitzer 7 November 2024 at 12:05

testcase

Fixed

Details

Assignee

Reporter

Priority

Fix versions

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

Sprint

Created 7 November 2024 at 12:01
Updated 6 January 2025 at 07:49
Resolved 6 January 2025 at 07:49