>anyone heard of cfhttp and cfhttparam stripping spaces from entries? > >We are have the following which posts to an ASP form but it seems to be >stripping out spaces? > ><cfhttp url="www.MYNEW.com/write/mtf03trade/submit.asp" method="POST"> > ><cfhttpparam type="FORMFIELD" name="qm2" >value="#listChangeDelims(request.stRegForm.qm2," ",",")#"> > >do you think that the " " is not being equated as a space? do you think it >should be "%20"?
What version of CF are you on? I wouldn't use "%20" because the cfhttpparam is auto-URL encoded, and this would cause the "%20" to be encoded instead of a space. I have not run into problems using spaces. Have you tried applying the listChangeDelims() function before the cfhttp call to see if that does anything? Maybe the cfhttpparam tag is encoding the value before the listChangeDelims() function does its job? That's just a shot in the dark, but try applying the function to a temp variable and then passing in the temp variable name as the value. Regards, Dave. _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

