The issue is with using getPageContext().getRequest().getRequestURL()
Brief research suggests that CGI.REQUEST_URL may be an alternative for Lucee until it gets fixed.