<?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>405</bug_id>
          
          <creation_ts>2003-12-09 16:14:18 +0000</creation_ts>
          <short_desc>validator fails on rewritten tomcat URLs (;jsessionid=... dropped after semicolon)</short_desc>
          <delta_ts>2004-05-16 08:43:06 +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.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://validator.w3.org/check?uri=https://bugs.privasphere.com:8443/listinbox_en.jsp;jsessionid=6E5EC0F1A3F7C21344191EE1C421D56C</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ralf Hauser">hauser</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>933</commentid>
    <comment_count>0</comment_count>
    <who name="Ralf Hauser">hauser</who>
    <bug_when>2003-12-09 16:14:18 +0000</bug_when>
    <thetext>My application rewrites the jsessionIDs always in the URL. I would assume, this
is easier for the validator to cope with than if it were to use cookies.

But still, for the above URL, I get
&lt;&lt; I got the following unexpected response when trying to retrieve
&lt;https://bugs.privasphere.com:8443/listinbox_en.jsp&gt;:

    500 Internal Server Error

Please make sure you have entered the URI correctly. &gt;&gt;
So, my interpretation is that it chops off anything after the semicolon, i.e. it
looses the sesson.

Therefore, it appears impossible with the current version to validate pages
where a user is logged in into a tomcat/struts session?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>945</commentid>
    <comment_count>1</comment_count>
    <who name="Ralf Hauser">hauser</who>
    <bug_when>2003-12-11 07:55:04 +0000</bug_when>
    <thetext>as per w3validator@puoli.net (Samuel), the URL must be encoded e.g.
http://validator.w3.org/check?uri=https://bugs.privasphere.com:8443/index_en.jsp;jsessionid=69F4FB9E833C78B32C832A745790A1B9
        must be encoded (the uri attribute you&apos;re sending to validator). The
correct URL would be
http://validator.w3.org/check?uri=https%3A%2F%2Fbugs.privasphere.com%3A8443%2Findex_en.jsp%3Bjsessionid%3D69F4FB9E833C78B32C832A745790A1B9
 but just replacing the semicolon by %3B appears to be enough.

Conclusion:
1) please warn the user, if a semicolon is encountered!
2) perhaps even amend the warning with some hints how to encode a URI (e.g.
which java library class to use?)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838</commentid>
    <comment_count>2</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-05-16 04:43:06 +0000</bug_when>
    <thetext>When you enter this URL into the form at validator.w3.org, the Validator will
correctly deal with the semi-colon. The problem will only crop up when you try
to construct the URL manually.

We might conceivably detect this situation and emit a warning about it
(including the suggested fix), but given the amount of overhead involved and the
relative obscurity of the problem, I don&apos;t think we&apos;ll do anything about this in
the forseeable future.

Resolving WONTFIX, but feel free to reopen if I&apos;m missing something.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>