Issues
- CFHTTP result is missing charsetLDEV-3678Resolved issue: LDEV-3678Pothys - MitrahSoft
- Add function GetHttpRequestHeaders()LDEV-3396Igal Sapir
- HTTP response statustext incorrect (same as statuscode)LDEV-1334Resolved issue: LDEV-1334Michael Offner
- Valid https request throws "Unknown host: hostname in certificate didn't match"LDEV-1164Resolved issue: LDEV-1164Michael Offner
- GetHttpRequestData().content sometimes empty when body content postedLDEV-1119Resolved issue: LDEV-1119Michael Offner
- http.setMethod('put') does not send variables set with http.addParam(type='form')LDEV-1020Resolved issue: LDEV-1020Michael Offner
- J2EE Session not maintained in cfhttp requestsLDEV-918Resolved issue: LDEV-918Michael Offner
- cfhttp (with updated library) timeout issueLDEV-485Resolved issue: LDEV-485Michael Offner
- cfhttp creates connections that don't expire until the keep-alive timeoutLDEV-371Resolved issue: LDEV-371Michael Offner
- Update CFHTTP multipart response handling to support quoted boundariesLDEV-203Resolved issue: LDEV-203
- cfhttp empty csv failsLDEV-187Resolved issue: LDEV-187
- Multipart image byte array response doesn't handle quoted boundaryLDEV-177Resolved issue: LDEV-177
12 of 12
CFHTTP result is missing charset
Fixed
Description
relates to
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Brad WoodBrad WoodNew 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
Sprint
NoneAffects versions
Priority
New
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Brad Wood
Brad WoodNew 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
Sprint
None
Affects versions
Priority
Created 16 August 2021 at 20:55
Updated 9 June 2023 at 16:50
Resolved 31 January 2023 at 08:21
Activity
Show:
Pothys - MitrahSoft31 January 2023 at 08:21
Now the non-text mime type with valid charset returns the correct charset value in the HTTP result in lucee.
Zac Spitzer29 December 2022 at 15:11
Pothys - MitrahSoft13 December 2022 at 06:42Edited
I’ve checked this ticket with lucee latest build 6.0.0.313-SNAPSHOT. Now cfhttp result always includes the charset key correctly.
As this fix the non-text mime type with valid charset returns the empty charset value in the HTTP result in lucee. Seems ACF returns the charset value. So it makes an incompatibility issue with ACF.
So I added a fix to this issue
Pull Request:
Adobe ColdFusion returns a charset key in the CFHTTP response which contains the charset sent in the response's Content-Type header (or an empty string if none was set)
https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-g-h/cfhttp.html
Lucee's CFHTTP struct does not contain a charset key which breaks compat with apps relying on it.
https://trycf.com/gist/340f5936baf5df62daa5297673e869e2/lucee5?theme=monokai