public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "brion at pobox dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/21606] New: java.net.URI fails to decode lowercase hex codes
Date: Mon, 16 May 2005 11:58:00 -0000	[thread overview]
Message-ID: <20050516115820.21606.brion@pobox.com> (raw)

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


             reply	other threads:[~2005-05-16 11:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 11:58 brion at pobox dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050516115820.21606.brion@pobox.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).