W3C home > Mailing lists > Public > www-validator@w3.org > September 1999

Re: [PATCH] use CGI.pm;

From: Gerald Oskoboiny <gerald@w3.org>
Date: Tue, 28 Sep 1999 19:39:42 -0400
To: Terje Bless <link@tss.no>
Cc: W3C Validator <www-validator@w3.org>
Message-ID: <19990928193942.F20352@w3.org>
On Wed, Sep 08, 1999 at 10:19:34PM +0200, Terje Bless wrote:
> Here is the patch (against 1.31) to make "check" use CGI.pm. It does away
> with the ability to put parameters in path info, but includes a special
> case to allow you continue to use "/check/referer" to check the referer.
> It's been reasonably well tested, so I don't anticipate any problems, but
> as it's a fairly comprehenive change something may have snuck in. If any
> problems pop up I'll try to fix them ASAP.

Thanks for the patch.

I integrated it into the current script, and have it running on
my test server:


It's not committed to CVS yet, but here is the current code
(on the test server):


Almost all of my test cases seem to work:


except this syntax doesn't seem to be supported by CGI.pm:


and I'm not sure how to fix that.

At first I thought it was my use of semicolons instead of ampersands
between the CGI parameters, but that's not it; CGI.pm splits on
either '&' or ';' . This doesn't work either:


It wants '=' after the parameters, or else they don't get defined.
This works:


Any ideas how to support the old syntax as well?

Gerald Oskoboiny       <gerald@w3.org>  +1 617 253 2920
System Administrator   http://www.w3.org/People/Gerald/
World Wide Web Consortium (W3C)      http://www.w3.org/
Received on Tuesday, 28 September 1999 19:39:49 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:10 UTC