Hey gang -

Got a little personal side project I've been working on lately, and I've 
come across a small stumper.

What I have is a GreaseMonkey (FF plug-in) script that will do a 
screenscrape of a particular page, package up the needed data into a 
query string, and push it via HTTP to my CF hosting account. I've got a 
page there that catches the data in the URL and does what it does with it.

The trick is, I'm finding that there are data bits out there that have a 
pound sign in them. An example I'm working on now - one variable has the 
value '!$#$!'. (Don't ask. Long story.) But when doing a dump of the URL 
structure, it only shows '!$'.

I've tried grabbing this query string, sticking it in a browser, and 
adding a second pound to the variable value, i.e. '!$##$!' - hoping that 
would cause it to escape - but no go. URL dump still shows '!$'.

I may well, on the data scraping side, just convert any pound signs I 
get to some odd string - like '[pound]' or something that wouldn't 
normally show up - and then convert back on the CF side prior to the 
database insert. But that's clunky and I don't like it...!

Is there any way to deal with the pound signs as they come in? I've 
Googled around, but I have yet to find any results that aren't dealing 
with the basic "Spit out CF variables by surrounding them with pound 
signs" type pages. :/

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

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

Reply via email to