jericho     2002/10/26 10:50:56

  Modified:    httpclient/src/java/org/apache/commons/httpclient URI.java
  Log:
  - Remove the # sign from allowed characters not to escape in the query
    compoents "based on" and "by" the general whole URI form.
    (BTW, It should be ok with the path component. If not, please report it.
     Because it's not an encoding problem, and a parsing problem)
  
  Revision  Changes    Path
  1.10      +5 -4      
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/URI.java
  
  Index: URI.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/URI.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- URI.java  26 Oct 2002 15:50:37 -0000      1.9
  +++ URI.java  26 Oct 2002 17:50:56 -0000      1.10
  @@ -1452,6 +1452,7 @@
       static {
           allowed_within_query.or(allowed_query);
           allowed_within_query.andNot(reserved); // excluded 'reserved'
  +        allowed_within_query.clear('#'); // avoid confict with the fragment
       }
   
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>

Reply via email to