public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/21606] New: java.net.URI fails to decode lowercase hex codes
@ 2005-05-16 11:58 brion at pobox dot com
  2005-05-16 12:01 ` [Bug libgcj/21606] " brion at pobox dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: brion at pobox dot com @ 2005-05-16 11:58 UTC (permalink / raw)
  To: java-prs

URIs may contain special hexadecimal byte codes in the format %HH where H is a
hexadecimal digit, either upper or lowercase. (RFC 2396 2.4.1)

When given a string containing lowercase hex codes such as %2c, the URI
constructor throws a URISyntaxException.

Steps to reproduce:
1. new URI("/a%2cb")

Actual results:
A URISyntaxException is thrown.

Expected results:
A happy, usable URI object. This works as expected on Sun's JDK 1.5.0.

Additional information:
GCC 4.0 compiled from source release on an Ubuntu Linux 5.04 "Hoary" system.

-- 
           Summary: java.net.URI fails to decode lowercase hex codes
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brion at pobox dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-16 20:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-16 11:58 [Bug libgcj/21606] New: java.net.URI fails to decode lowercase hex codes brion at pobox dot com
2005-05-16 12:01 ` [Bug libgcj/21606] " brion at pobox dot com
2005-05-16 20:10 ` tromey at gcc dot gnu dot org
2005-05-16 20:27 ` cvs-commit at gcc dot gnu dot org
2005-05-16 20:35 ` cvs-commit at gcc dot gnu dot org
2005-05-16 20:39 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).