ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50543] New: Locator.decodeUri broken for Latin-1 chars
Date Wed, 05 Jan 2011 14:32:39 GMT

           Summary: Locator.decodeUri broken for Latin-1 chars
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        ReportedBy: is original report. As
early as 1.7.1 (did not check earlier; still true in 1.8.2),
Locator.decodeUri("file:/tmp/açaí%20berry") produces "file:/tmp/a�a� berry"
rather than "file:/tmp/açaí berry" as expected. Note that encodeURI (yes
capitalization differs!) produces "file:/tmp/a%C3%A7a%C3%AD%20berry" for the
reverse direction, which is also fine and decodes correctly. But new
File("/tmp/açaí berry").toURI().toString() produces the problematic
"file:/tmp/açaí%20berry"; decodeUri should be more robust and not require
toASCIIString() to be used in this case.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
View raw message