D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] More scripting silliness...



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 02 July 2003 19:54, Neil Williams wrote:
> On Wednesday 02 Jul 2003 5:37 pm, Jonathan Melhuish wrote:
> > However, what I was forgetting is that Interchange uses strokes
> > ('slashes' if you prefer, but that sounds a bit violent to me) in the
> > search string.
>
> Just replace each / with the hexadecimal equivalent %2F and the browser
> will replace the slash.
> e.g.:
> http://validator.w3.org/check?uri=http%3A%2F%2Fwww.codehelp.co.uk%2Findex.h
>tml
>
> Standards: the best way to do things.
>
> :-)
>
> (i.e. the W3C way to use / in any query string is as %2F - that is probably
> why Google balks at it. Similarly with : -> %3A.)

Sorry, that was probably a bit unclear in my original email.  Although it is 
indeed a "query string", it isn't passed in the normal "?variable=value" way, 
it's passed as a supposedly 'normal-looking' URL, eg.

http://www.smssat.biz/scan/fi=products/sp=results_big_thumb/st=db/co=yes/sf=category/se=OtherReceivers/va=banner_image=/va=banner_text=.html?id=f8YyQGtr

I'm not sure why they decided to do it like that.  I dunno, I didn't design it 
guv ;-)  But is there anything technically wrong with an URL like that?

Cheers,

Jon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Az5SeTVvFHAhe5cRAvQCAJ9QiNaD4f9qzQHPoWIFEywh2yEWZQCcCpRN
kpjK6EP9OQIvvOPprXhveC0=
=yiFS
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly