getPageContext Lucee compatibility

Description

In Lucee, I can call getPageContext().getRequest().getHeader("Origin") to get the information, where the request is been called from.

BL throws an error that there’s no method “getHeader”.


Workaround: Use getPageContext().getRequest().getRequestHeader("Origin")

getRequestHeader() instead of getHeader()

Activity

Show:

Jon ClausenMarch 21, 2025 at 4:07 PM

The fix is building ( again ) now.

Jon ClausenMarch 21, 2025 at 4:05 PM

Oh no! Let me fix. Oops!

Jon ClausenMarch 21, 2025 at 3:08 PM

I have added an alias for getHeader to point to getRequestHeader . This is fixed in the latest snapshot.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created March 21, 2025 at 11:56 AM
Updated March 21, 2025 at 4:07 PM
Resolved March 21, 2025 at 4:07 PM