We're updating the issue view to help you get more done. 

CFHTTP and ESAPI encoded url's

Description

When using cfhttp to fetch a url, ESAPI encoded urls don't get decoded.

When fetching http://lucee.dev/dump-url.cfm?filtername=henk+patat with the below example code in a browser it returns "henk patat". When using cfhttp it returns "henk+patat".

ps, URLEncode and ESAPIEncode encodes spaces to +, URLEncodedFormat to %20.

1 2 3 4 // dump-url.cfm <cfscript> dump(url.filtername); </cfscript>
1 2 3 4 <cfhttp url="http://lucee.dev/dump-url.cfm?filtername=henk+patat"> <cfoutput> #cfhttp.filecontent# </cfoutput>

Environment

None

Status

Assignee

Michael Offner

Reporter

Jonathan van Zuijlekom

Labels

None

Sprint

None

Fix versions

Affects versions

5.2.2.1
4.5.3.018

Priority

Critical