I’m on Lucee 22.214.171.124 on Windows/IIS. I tried updating the S3 extension to the latest pre-release (126.96.36.199-RC) from the latest release (0.9.4.156), and it breaks expandPath().
In my test, I had one s3 mapping in the application.cfc and one local mapping. Example:
this.mappings[“/s3target”] = “s3://mybucket”;
this.mappings[“/serverFolder”] = expandPath(“/globalMapping/subfolder”);
“globalMapping” is a mapping defined in the server admin.
Assuming my application path is “C:\inetpub\wwwroot\luceeApp”, the results of exandPath() for my mappings using the S3 extension version 188.8.131.52-RC are as follows:
expandPath(“/s3target”) → C:\inetpub\wwwroot\luceeApp\s3target
– should be: s3://mybucket
expandPath(“/serverFolder”) → C:\inetpub\wwwroot\luceeApp\serverFolder
– should be: c:\path\to\globalMapping\subfolder
reverting to 0.9.4.156 resolves the issue