Fixed
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Joe Wakefield
Joe Wakefield(Deactivated)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
Fix versions
Affects versions
Priority
Created 13 September 2018 at 16:48
Updated 18 September 2024 at 10:19
Resolved 23 December 2020 at 06:38
Lucee returns the port, ACF doesn't.
// Lucee = http://127.0.0.1:80/test.cfm // ACF10 = http://127.0.0.1/test.cfm // ACF2018 = http://127.0.0.1/test.cfm WriteDump(getPageContext().getRequest().getRequestUrl().toString());
I actually couldn't find any combination of variables that work the same on Lucee, ACF10, and ACF2018, so the best workaround I came up with is this:
<cfif server.coldfusion.productname EQ "Lucee"> <cfset local.request_url = cgi.request_url> <cfelse> <cfset local.request_url = variables.request.GetRequestUrl()> </cfif>