Re: Unescaped URI portions in validator script

On Sunday 14 January 2007 23:21, Stefan Ram wrote:
>   The validator seems to copy portions of a given URI without
>   proper escaping (like quotemeta or so) into a Perl script.
>   For example, a plus sign within the URI is being recognized as
>   a regex quantifier:
>
>       Software error:
>
>       Nested quantifiers in regex; marked by <-- HERE in
>       m/^/check?uri=http://++ <-- HERE / at (eval 18) line 14.
>
>       For help, please send mail to the webmaster ([no address
>       given]), giving this error message and the time and date
>       of the error.
>
> http://validator.w3.org/check?uri=http://++

Thanks for the report, Stefan.

This is a bug in the CGI.pm library used by the validator, not the validator's 
code itself.  Olivier, the bug is fixed in CGI.pm 3.19 and later, would it be 
possible to update the validator servers to a fixed version?

Received on Sunday, 21 January 2007 12:43:03 UTC