This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/14009] libgcj HttpURLConnection does not handle situation where retrieving url without trailing slash after domain.
- From: "k dot allan-gcc at au dot darkbluesea dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2004 01:55:02 -0000
- Subject: [Bug libgcj/14009] libgcj HttpURLConnection does not handle situation where retrieving url without trailing slash after domain.
- References: <20040204014445.14009.k.allan-gcc@au.darkbluesea.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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