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!
>
>   


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304239
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to