[Bug libgcj/14009] libgcj HttpURLConnection does not handle situation where retrieving url without trailing slash after domain.

k dot allan-gcc at au dot darkbluesea dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 4 01:55:00 GMT 2004


------- Additional Comments From k dot allan-gcc at au dot darkbluesea dot com  2004-02-04 01:54 -------
Created an attachment (id=5672)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5672&action=view)
Patch against gcc/libjava/gnu/java/net/protocol/http/Connection.java

This patch rectifies the bug in this report by checking for an empty path and
substituting a "/" in place of nothing in the request line of the HTTP request
header.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14009



More information about the Gcc-bugs mailing list