[thelist] ASP URLDecode

Chris Blessing webguy at mail.rit.edu
Fri May 3 10:19:00 CDT 2002

Hmm... is there any reason why it was encoded in the database to begin with?
Just wondering since the whole idea is to escape things like spaces and such
which interfere with querystrings, but not databases (well, usually).

Aside from converting all the content in the db, sounds like you've got a
winning reason to use a urldecode() function. ;)

Chris Blessing
webguy at mail.rit.edu

> Ok, since you asked...
> We've got a database with some URL fragments stored in it.  We used to
> pull the values from the database and generate a link with a querystring
> in it.
> Now we want to be able to take that URL fragment, and parse it into
> <input type="hidden" name="foo" value="<%= URLDecode(bar) %>">'s
> So that we can POST it, rather than expose all our stuff in the
> querystring.
> But, we don't want to change the data in the database.  And the data in
> the database is already in URL format with lots of %20's and stuff.  So
> that's why I'm looking for an already-written decoder.  But I'm
> certainly open to other work-arounds.

More information about the thelist mailing list