Details
Assignee
Michael OffnerMichael OffnerReporter
Brad WoodBrad WoodPriority
NewLabels
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
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Brad Wood
Brad WoodPriority
Labels
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
Created 16 April 2021 at 20:46
Updated 19 April 2021 at 13:11
Attached is a repro case. Unzip it and run the following
The index.cfm file from the web root will load. Note there is a web server alias that points /fake to the web root and there is also a matching Applicatin.cfc this.mappings that also points /fake to the web root.
Now, remove or rename the onRequest() method in the Application.cfc and refresh the page. Now you will receive an error:
It seems that the cfinclude inside the onRequest() method is "aware" of the /fake CF mapping, but when you remove that method, whatever code inside Lucee which runs the template is not aware of the CF mapping because the behavior changes.