xerces-j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18785] New: - [RFC 2396]: White space character #x20 is not allowed unescaped.
Date Mon, 07 Apr 2003 21:27:42 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18785>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18785

[RFC 2396]: White space character #x20 is not allowed unescaped.

           Summary: [RFC 2396]: White space character #x20 is not allowed
                    unescaped.
           Product: Xerces2-J
           Version: 2.4.0
          Platform: All
               URL: http://www.ietf.org/rfc/rfc2396.txt
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: mrglavas@ece.uwaterloo.ca


The Xerces URI implementation permits invalid URIs such as:
"http:// space /not/allowed".

White space isn't permitted in a URI unless it is escaped as %20. This problem 
seems to arise from numerous calls to String.trim() (line 1336 of Revision 1.7 
of URI.java for example) which strip white space off the ends of strings before 
they are parsed.

References:
http://www.ietf.org/rfc/rfc2396.txt

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org


Mime
View raw message