JDK 8 Code Review Request: 6500133/6931888: CertificateParsingException for CDP (original) (raw)

Jason Uh jason.uh at oracle.com
Wed Aug 15 03:51:10 UTC 2012


Hi all,

This change fixes -- 6500133: CertificateParsingException for CRL Distribution Point with blank; and 6931888: Inconsistent behavior for invalid URI name in cert file

CRs: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500133 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6931888

They are effectively duplicates, both regarding an exception thrown when parsing CRL Distribution Point URIs with invalid characters, like a space or backslash. This change uses sun.net.www.ParseUtil.encodePath(String) to re-encode bad URIs.

Webrev: http://cr.openjdk.java.net/~juh/6500133/webrev.00/

Thanks, Jason



More information about the security-dev mailing list