<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>88</bug_id>
          
          <creation_ts>2002-11-26 17:13:58 +0000</creation_ts>
          <short_desc>URI not escaped properly when POST -&gt; GET redirecting</short_desc>
          <delta_ts>2002-11-26 22:22:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.6.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-validator/2002Nov/0226.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ville Skyttä">ville.skytta</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>192</commentid>
    <comment_count>0</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2002-11-26 17:13:58 +0000</bug_when>
    <thetext>Brian J. Saville &lt;bsaville@espeedient.com&gt; in
&lt;http://lists.w3.org/Archives/Public/www-validator/2002Nov/0226.html&gt;:

If you submit a URL in the Address input box that has multiple query
string parameters, the address is not properly parsed.

Consider the following URL:

http://www.somedomain.com?parameterA=1&amp;parameterB=2

You would expect that the validator would request the URL as it appears
above from the specified web server. Instead it requests this:

http://www.somedomain.com?parameterA=1

The problem lies in that the ampersand is not be properly encoded. This
can be seen by looking at the GET request that is created after
submitting the form with the above address to the validator service. The
GET looks like:

http://validator.w3.org/check?uri=http://www.somedomain.com?parameterA=1
&amp;parameterB=2

In this case, the validator ignores parameter2 thinking that its uri
parameter ends at A=1, when really parameter2 should be included as part
of the uri parameter and passed on to the host web server.

The correct GET should look like this:

http://validator.w3.org/check?uri=http://www.somedomain.com?parameterA=1
%26parameterB=2

Currently this can be corrected by hand by changing any ampersand to %26
either in the Address input box on the form or in the GET request for
the validator in the address bar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>193</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2002-11-26 17:22:25 +0000</bug_when>
    <thetext>Fixed in CVS (HEAD and 0_6_0-branch).  Ouch.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>