Lucee returns the port, ACF doesn't.
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:
there’s an issue with your pull request. From the comment on github:
The port should only be hidden if 80 or 443. The getRequestUrl() function still needs to append the port in other circumstances (e.g. 8080, 8443, etc.)
please give the build a try
, I've checked this ticket with lucee version 22.214.171.124-SNAPSHOT. This issue was fixed. So I deployed the ticket with the fixed version.