[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: url-escaping a string in a shell script.



also sprach Joost Kooij (on Sat, 21 Jul 2001 05:27:49PM +0200):
> Of course, if you want to fake the behaviour of webbrowsers, avoid all
> standards like the plague.  Certain browsers will escape all characters
> when sending a request to the server.  Why do you think that .asp sites
> regularly have spaces in uris, without the "designer" being aware of that?

well, it's lynx that i am dealing with, so i am assuming a pretty
standard-aware browser.

anyway, i got it working by specifying all the reserved cpic
characters as the second argument to uri_escape.

thanks!

martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
-- 
have you drugged your kids today?

Attachment: pgp3qhBRgvOSs.pgp
Description: PGP signature


Reply to: