House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

FIXED: CFHTTPPARAM issue

Author:
Jake Churchill
04/25/2008 01:02 PM

The resolution was simple as it almost always is.  Add the attribute encoded="no" to the cfhttpparam tag in question. Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE  68154 http://www.cfwebtools.com 402-408-3733 x103 Jake Churchill wrote: > I'm working with a payment gateway which requires referer > authentication.  I'm trying to make the call using CFHTTP and I'm using > CFHTTPPARAM to spoof the referer.  This is the code: > > <cfhttpparam type="cgi" name="REFERER" > value="https://bryanlghsystem.cfwebtools.com/jake.cfm">; > > I've also tried this: > > <cfhttpparam type="cgi" name="HTTP_REFERER" > value="https://bryanlghsystem.cfwebtools.com/jake.cfm">; > > Technically the HTTP_ is not required from what I've read but that's not > my issue.  When testing this on another page and dumping out the CGI > scope, the refer is set to this: > > https%3A%2F%2Fbryanlghsystem%2Ecfwebtools%2Ecom%2Fjake%2Ecfm > > It seems like I am almost there but I'm running into a url encoding > issue.  Does anyone know how I can achieve the result of an http_referer > variable set to this: > > https://bryanlghsystem.cfwebtools.com/jake.cfm > > Any help is appreciated. > > Thanks! > >  


Search cf-talk

June 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference