Bug report - S3 extension vs app mappings

I’m on Lucee on Windows/IIS. I tried updating the S3 extension to the latest pre-release ( from the latest release (, 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 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 resolves the issue