From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2281 invoked by alias); 16 May 2005 11:58:29 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 2217 invoked by uid 48); 16 May 2005 11:58:28 -0000 Date: Mon, 16 May 2005 11:58:00 -0000 From: "brion at pobox dot com" To: java-prs@gcc.gnu.org Message-ID: <20050516115820.21606.brion@pobox.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/21606] New: java.net.URI fails to decode lowercase hex codes X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00455.txt.bz2 List-Id: 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