The wireshark dump confirmed that it WAS NOT cfhttp doing this, but rather a 
"feature" of php called "magic quotes"

More info posted here:
http://help.imified.com/faqs/building-imified-bots/backslashses-are-inserted-before-certain-characters-when-my-bot-replies

> I have a CF page with this:
> <cfhttp method="POST" url="http://test.local/test.php";>
> <cfhttpparam type="formField" name="msg" value="I \ am">
> </cfhttp>
> <cfoutput>#cfhttp.filecontent#</cfoutput>
> 
> And a PHP receiving page:
> you said: <?php
> echo $_POST['msg'];
> ?>
> 
> The output of the CFML page is:
> you said: I \\ am
> 
> So, who is responsible for the extra backslash in the output?  Is it 
> cfhttp or is it php, and why? Other characters like quotes and such 
> are also being escaped.
> 
> Note that if you post to a CFML page then there isnt any extra 
> backslash in the output. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323647
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