You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/05/29 14:35:50 UTC
DO NOT REPLY [Bug 9489] New: -
Malformed HTTP GET Requests in UnixHTTPUrlInputStream
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: xerces-c-dev@xml.apache.org
ReportedBy: gereon.steffens@web.de
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org