<?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>3115</bug_id>
          
          <creation_ts>2006-04-12 17:10:58 +0000</creation_ts>
          <short_desc>Referer Truncates Query Part of URI</short_desc>
          <delta_ts>2010-02-11 22:35:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 1.0</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="D Sledge">valen_23</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>karel</cc>
          
          <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>9184</commentid>
    <comment_count>0</comment_count>
    <who name="D Sledge">valen_23</who>
    <bug_when>2006-04-12 17:10:58 +0000</bug_when>
    <thetext>Including a link to &lt;http://jigsaw.w3.org/css-validator/check/referer&gt; in a web
page will whose URI has more than one parameter in its query causes the validator to truncate everything after the first query parameter (e.g. the URI &lt;http://blah.org/?blah=blah&amp;yackety=schmackety&gt; becomes &lt;http://blah.org/?blah=blah&gt;).  Consequently it validates a page that might or might not have been the intended page to be validated.

The validator works fine if the URI to be validated is explicitly referenced; &lt;http://jigsaw.w3.org/css-validator/validator?uri=http://blah.org/?blah=blah&amp;yackety=schmackety&gt;.

Note that the markup validator can handle documents that have multiple parameters in the query part of their URI that are submitted via a refered URI using the link
&lt;http://validator.w3.org/check/referer&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16832</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-27 02:50:04 +0000</bug_when>
    <thetext>fixed by move to velocity</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31753</commentid>
    <comment_count>2</comment_count>
    <who name="Karel Van der Gucht">karel</who>
    <bug_when>2010-02-11 11:59:37 +0000</bug_when>
    <thetext>This is part of my HTML.

&lt;table summary=&quot;&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; class=&quot;emptyBox&quot;&gt;
&lt;tr&gt;
&lt;TD align=&quot;center&quot;&gt;
&lt;a href=&quot;http://validator.w3.org/check?uri=referer&quot;&gt;
&lt;img id=&quot;valid-html401&quot; src=&quot;./img/valid-html401.png&quot; onmouseover=&quot;vdgFuss(this, true);&quot; onmouseout=&quot;vdgFuss(this, false);&quot; alt=&quot;Valid HTML 4.01  Transitional&quot; title=&quot;Valid HTML 4.01  Transitional&quot; height=&quot;24&quot;&gt;
&lt;/a&gt;&lt;/TD&gt;
&lt;td align=&quot;center&quot;&gt;
&lt;a href=&quot;http://jigsaw.w3.org/css-validator/validator?uri=http://www.pfarramt-essenbach.de/index.php?menu=Geschehen&amp;amp;submenu=ElternKindGruppenE&quot;&gt;
&lt;img id=&quot;vcss&quot; height=&quot;24&quot; src=&quot;./img/vcss.png&quot; alt=&quot;Valid CSS&quot; title=&quot;Valid CSS&quot; onmouseover=&quot;vdgFuss(this, true);&quot; onmouseout=&quot;vdgFuss(this, false);&quot;&gt;
&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;

The URI will be truncated at the &amp; (=&quot;&amp;amp;&quot;) sign (as described in 3115).
If you call the CSS-Validator-Service like this, you willget an answer that all is ok but for the URI &quot;until&quot; the &amp; and excluding the rest after &quot;&amp;&quot;.

The answer of the CSS-validator is:
Ergebnisse des CSS-Validators http://www.pfarramt-essenbach.de/index.php?menu=Geschehen (CSS level 2.1)
Gratuliere! Keine Fehler gefunden.

The part &quot;submenu=ElternKindGruppenE&quot; is MISSING.

kind regards
Karel Van der Gucht</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31846</commentid>
    <comment_count>3</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2010-02-11 22:35:45 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; This is part of my HTML.
[...]
&gt; &lt;a
&gt; href=&quot;http://jigsaw.w3.org/css-validator/validator?uri=http://www.pfarramt-essenbach.de/index.php?menu=Geschehen&amp;amp;submenu=ElternKindGruppenE&quot;&gt;

The &quot;uri&quot; argument needs to be URI escaped, just encoding HTML entities is not what you want there. Try this one instead:

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.pfarramt-essenbach.de%2Findex.php%3Fmenu%3DGeschehen%26submenu%3DElternKindGruppenE
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>