<?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>4455</bug_id>
          
          <creation_ts>2007-04-10 18:28:12 +0000</creation_ts>
          <short_desc>CSS Validator does not properly escape path of file in GET request</short_desc>
          <delta_ts>2007-09-27 02:52:25 +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>upload file</component>
          <version>CSS Validator</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://k1.dyndns.org/Vintage/Sinclair/80/Timex%20Peripherials/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kio">kio</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>kio</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>14691</commentid>
    <comment_count>0</comment_count>
    <who name="Kio">kio</who>
    <bug_when>2007-04-10 18:28:12 +0000</bug_when>
    <thetext>My web site contains many files with names which contain &quot;problematic&quot; characters, e.g. &quot;space&quot; as in the above example URL.

When checking HTML syntax with &quot;http://validator.w3.org/check/referer&quot; my web server (Apache) gets a correctly escaped path:
&quot;GET /Vintage/Sinclair/80/Timex%20Peripherials/ HTTP/1.1&quot;

For &quot;http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fk1.dyndns.org%2FVintage%2FSinclair%2F80%2FTimex%2520Peripherials%2F&quot;
my web server gets a correctly escaped path:
&quot;GET /Vintage/Sinclair/80/Timex%20Peripherials/ HTTP/1.1&quot;
and the CSS Validator says &quot;OK&quot; for the page.

But for &quot;http://jigsaw.w3.org/css-validator/check/referer&quot; from this page my web server gets an unescaped path:
&quot;GET /Vintage/Sinclair/80/Timex Peripherials/ HTTP/1.1&quot;
and consequently returns a &quot;Bad Request&quot; error to the CSS Validator.

The result page for the successful CSS validation states to use:
&quot;http://jigsaw.w3.org/css-validator/validator?uri=http://k1.dyndns.org/Vintage/Sinclair/80/Timex%20Peripherials/&quot;
or 
&quot;http://jigsaw.w3.org/css-validator/check/referer&quot;
to include in the page itself for later easy CSS validation, as i have done on this page.

Greetings,

    ... kio !</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16833</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-27 02:52:25 +0000</bug_when>
    <thetext>Should be fixed by move to velocity.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>