cfml compat: returnformat is case sensitive for remote methods

Description

Doing an AJAX POST to a remote cfc method with:

returnFormat: JSON

Errors with:

Unsupported returnFormat [JSON]. Valid options are 'json', 'wddx', 'xml', and 'plain'

looks like the same applies with the meta data on the function. For example:

<cffunction name="x" access="remote" output="false" returnformat="JSON">

Activity

Show:

Brad Wood April 8, 2025 at 6:17 PM

Good catch!

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

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created April 8, 2025 at 10:00 AM
Updated April 8, 2025 at 6:17 PM
Resolved April 8, 2025 at 6:17 PM