[7u6] Request for approval for CR 6961765: Double byte characters corrupted in DN for LDAP referrals
edvard.wendelin at oracle.com
Wed Mar 7 22:17:30 PST 2012
On Mar 8, 2012, at 3:54 AM, Weijun Wang wrote:
> Hi All
> This is a request to backport a jdk8 fix into jdk7u6.
> CR: 6961765: Double byte characters corrupted in DN for LDAP referrals
> Weblink: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6961765
> We were using UrlUtil.decode() to decode an ASCII-formatted LDAP URI to get its original component. If the URI provided is not pure ASCII, it leads to an error. The URLDecoder class is much more robust in this case.
> The Java URI class explicitly allows Unicode characters in an URI string and we should support it in LDAP URI also.
> The fix is already included in jdk8 as:
> Reviewed-by: vinnie
> The patch for jdk7u6 is identical to the one in jdk8.
> I intend to push it to
More information about the jdk7u-dev