W3C home > Mailing lists > Public > www-validator@w3.org > August 2001

Re: Warn about unknown parameters

From: Terje Bless <link@pobox.com>
Date: Thu, 2 Aug 2001 04:59:46 +0200
To: W3C Validator <www-validator@w3.org>
Message-ID: <20010802045954-r01010700-1dba9969-0910-010c@>
On 02.08.01 at 04:09, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

>second try:

Ah! Thanks Björn! That was exactly the spoon-feeding I needed to penetrate
the darker, foggier, recesses of what I like to think of as my brain. :-)

>  warn "unknown parameter $_. Did you escape the URI properly?\n"
>    foreach grep { not /^(uri|...|...|...)$/ } $q->params;

That's actually more or less what I'd arrived at, but I didn't like having
to maintain a list of known parameters. Guess there is nothing for it but
to go that route afterall.

Thanks for helping out Björn!

[ And Nick, and Peter too; whatever else, you helped me understand     ]
[ this and that's a herculean task in it's own right! Thanks guys! :-) ]

>[1] programs like my Internet Explorer context menu addon found at
>    http://www.bjoernsworld.de/ie/addons.html for the W3C HTML Validator
>    ;-)

Note to self: we should probably link to this and other usefull things.
Received on Wednesday, 1 August 2001 22:59:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:30 UTC