Code Review 7041800: URI.equals may incorrectly return true with escaped octets (original) (raw)
Chris Hegarty chris.hegarty at oracle.com
Thu Sep 1 01:36:45 PDT 2011
- Next message: Code Review 7041800: URI.equals may incorrectly return true with escaped octets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
An embarrassing bug in the equal(String,String) private implementation method. The Strings compare equal when there is a % in one string, a different char in the same place in the other string, but the two chars following are the same.
http://cr.openjdk.java.net/~chegar/7041800/webrev.00/webrev/
-Chris.
- Next message: Code Review 7041800: URI.equals may incorrectly return true with escaped octets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]