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=9489>.
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=9489

Malformed HTTP GET Requests in UnixHTTPUrlInputStream

           Summary: Malformed HTTP GET Requests in UnixHTTPUrlInputStream
           Product: Xerces-C++
           Version: 1.7.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In UnixHTTPUrlInputStream's constructor, the HTTP GET request is (sometimes)
incorrectly built.
First, around line 200 a question mark is appended to the request string without
making sure the string is still zero-terminated for the following strcat() call.
Second, around line 216, when the port number to connect to is not port 80, the
port number is appended to the host name without a separating ":" character.

Patch follows.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to