Remote function with returnformat='plain' and containing HTML, returns a different content type to ACF.

Description

When returning HTML content via a remote function, ACF will send a content-type header of 'text/html', while Lucee sends 'text/plain'.

To reproduce:

Save as test.cfc then call:

http://127.0.0.1/test.cfc?method=testOutputHTML

ACF will display parsed HTML while Lucee will display unparsed HTML code.

Activity

Pothys - MitrahSoft 16 March 2020 at 14:11

I checked this ticket with both ACF and lucee. For this kind of method, ACF works fine. In lucee, it returns wrong. So, the issue has confirmed on lucee.

Details

Assignee

Reporter

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

Affects versions

Priority

Created 22 January 2020 at 14:34
Updated 30 September 2022 at 13:19