As a Windows person, I thought I’d share a few fixes I made with 6.2
- FileSetAttribute failing on windows
- FileSetAttribute(file, “normal”) does not clear Read-Only attribute
- expandpath with placeholder on windows drops the trailing /
- invalid path access on windows
The expandPath
bug has caused me a few problems developing on Windows and deploying to Linux.
Lucee automatically cleans up paths
/var/www/something//
into/var/www/something/
c:\www/\something/
intoc:\www\\something\
But you now longer need to add the extra trailing slash after calling expandPath()
The invalid path bug is just a performance improvement, Lucee tries a few different ways to resolve paths, this just it’s trying one less invalid option.
Let me know there are any other Windows specific issues.
There is one major outstanding Windows bug relating to locked jar files