<?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>748</bug_id>
          
          <creation_ts>2004-05-27 14:16:49 +0000</creation_ts>
          <short_desc>&amp; in URLs not parsed correctly with GET requests</short_desc>
          <delta_ts>2006-10-31 01:41:52 +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.7.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://validator.w3.org/check?uri=http://photo.hashproject.com/aleX/?page=2&amp;dp=kaf/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Radoslav Atanasov">hash</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1951</commentid>
    <comment_count>0</comment_count>
    <who name="Radoslav Atanasov">hash</who>
    <bug_when>2004-05-27 14:16:49 +0000</bug_when>
    <thetext>If I want to check my website via the 

http://validator.w3.org/check?uri=http://photo.hashproject.com/aleX/?
page=2&amp;dp=kaf/

URL, the URL which is actually parsed is http://photo.hashproject.com/aleX/?
page=2. I tried using &amp;amp; instead of &amp; in the URL and the problem still 
persists. If I submit the URL with the form on the site (which uses POST), 
there are no problems.

It is not a big of a problem, but you might be interested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorward">david</who>
    <bug_when>2004-05-27 14:27:46 +0000</bug_when>
    <thetext>&amp; has special meaning in URIs, as it does in HTML. However, they should be url
encoded, not converted to HTML entities.

The correct representation of &amp; in a URI (when not being used as a field
seperator in a query string) is %26.

Browsers convert this automatically when a form is submitted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7814</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Rutter">timrutter</who>
    <bug_when>2006-01-13 10:49:35 +0000</bug_when>
    <thetext>This is still a problem. e.g.
While validating a page and you type:-
http://foo.bar.org/?value1=somestring&amp;value2=someotherstring
Into the &quot;Address:&quot; input. It goes to:-
http://validator.w3.org/check?uri=http%3A%2F%2Ffoo.bar.org%2F%3Fvalue1%3Dsomestring%26value2%3Dsomeotherstring
This does not work and it should.

You have to type:-
http://foo.bar.org/?value1=somestring&amp;amp;value2=someotherstring
Into the &quot;address:&quot; input. Which goes to.
http://validator.w3.org/check?uri=http%3A%2F%2Ffoo.bar.org%2F%3Fvalue1%3Dsomestring%26amp%3Bvalue2%3Dsomeotherstring


When on the front page to the validator and you type in a URL to check it first
HTML encodes the URL and then URLencodes it.

URLs should only be URL encoded. so what is in the &quot;Address:&quot; input is the same
as what you would enter into a browsers Address bar and not what would be in the
html source.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12675</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-10-31 01:41:52 +0000</bug_when>
    <thetext>No idea why this has been reopened (nor do I, honestly, understand comment #2). 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>