Re: Warn about unknown parameters

* Terje Bless wrote:
>On 31.07.01 at 18:52, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
>
>>In our german web authoring newsgroup Thomas Mager just wondered why
>>http://validator.w3.org/check?uri=http://www.art-emilio.de/galerie.shtml?Acryl;1

There is a ';1' at the end, got that?

>I'm feeling a little dense at the moment. Could you talk me through the
>issue step by step, and with big letters and little words? :-)

We are using ';' as CGI parameter separator, the '1' is interpreted as
parameter for the Validator instead of one for the .shtml page as it was
intended. The URI is improperly escaped, but he didn't figure that out.
So, if we encounter unknown parameters like '1' we should warn about
them. Known parameters are e.g. 'uri' or 'fragment', those little
thingies you query with the param() method of the CGI object... ;-)
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Tuesday, 31 July 2001 21:15:16 UTC