W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Re: validating files with the string "referer" as part of the "uri" parameter

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 12 Jul 2002 14:30:27 +0200
To: Michael.Schroepl@telekurs.com
Cc: www-validator@w3.org
Message-ID: <bbitiu0nqljv67ni60t634up37sp04c8ss@4ax.com>

* Michael.Schroepl@telekurs.com wrote:
>Look at the URI mentioned above and then try to validate the document
>     "/mod/mod_log_referer.html".
>The http://validator.w3.org/check script will detect the substring
>"referer" inside this Query
>string and then validate the list document instead of the one I intended to
> be validated.
>Is there something wrong with the URI that I generate?

You should run URI::Escape::uri_escape on the URI or use 

  use URI;
  my $uri = URI->new(q(http://validator.w3.org/check));
  $uri->query_form(uri => q(http://www.example.org/));
  print $uri;

in order to properly escape the URI data, but this will not help in this
case, it's a bug in the validator. Sorry for the inconvenience.

>And do I have any possibility to work around this?

Received on Friday, 12 July 2002 08:30:26 UTC

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