Title:
ColdFusion 11 Update 18 cannot perform GET request with URL parameter containing a space
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Bryan H. / ()
Created: 03/12/2019
Components: Net Protocols, HTTP
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: 11,0,18,314030 11,0,15,314030 / CF11U19
Priority/Frequency: Normal / All users will encounter
Locale/System: ALL / Win 2016
Vote Count: 4
Problem Description: CF cannot make an HTTP request when a URL parameter contains a space in its value.
Steps to Reproduce:
cfhttp(url="http://google.com", method="GET", result="local.result") {
cfhttpparam(type="URL", name="q", value="a b", encode=true);
}
writeDump(var=local.result, format="text");
Actual Result: (request is never sent to google) struct
Charset: [empty string]
ErrorDetail: Illegal Argument: Illegal character in query at index 21: http://google.com?q=a b
Filecontent: Connection Failure
Header: [empty string]
Mimetype: Unable to determine MIME type of file.
Responseheader: [struct]
Statuscode: Connection Failure. Status code unavailable.
Text: YES
Expected Result: Successfull request/response returned (status code 200 OK)
Any Workarounds: Uninstall CF11 update 18, manually URLEncode parameter values
Attachments:
Comments: