Skip to content

Instantly share code, notes, and snippets.

@wellercs
Created January 15, 2013 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wellercs/4535364 to your computer and use it in GitHub Desktop.
Save wellercs/4535364 to your computer and use it in GitHub Desktop.
test cfhttp encoding in url
<cfparam name="url.scope" default="">
<cfhttp url="http://#cgi.http_host#/sandbox/receiver.cfm?scope=#url.scope#" method="post" resolveurl="no">
<cfhttpparam type="header" name="Content-Type" value="application/x-www-form-urlencoded" />
</cfhttp>
<cfdump var="#cfhttp#">
<cfparam name="url.scope" default="">
<cfoutput>scope=#url.scope#</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment