RFR: 8213952: Relax DNSName restriction as per RFC 1123

Seán Coffey sean.coffey at oracle.com
Fri Nov 16 16:13:04 UTC 2018


Thanks for the comments Bernd. comments inline..

On 16/11/18 12:40, Bernd Eckenfels wrote:
> You could also add (a..b, false) and (.a, false), (a., false) to the 
> testcases.
good point. test updated.
>
> I noticed that there are different types of Exception messages (DNS 
> name, DNSName, DNS Name or name constrained, DNS name and SAN), would 
> be good if all of them have the same keyword?
I cleaned up some other references to DNSName in the sun.security.x509 
package. I'm not sure what classes you were referencing the above 
examples from.

new webrev : http://cr.openjdk.java.net/~coffeys/webrev.8213952.v2/webrev/

regards,
Sean.
>
> Gruss
> Bernd
> -- 
> http://bernd.eckenfels.net
> ------------------------------------------------------------------------
> *Von:* security-dev <security-dev-bounces at openjdk.java.net> im Auftrag 
> von Seán Coffey <sean.coffey at oracle.com>
> *Gesendet:* Freitag, November 16, 2018 12:25 PM
> *An:* OpenJDK Dev list
> *Betreff:* RFR: 8213952: Relax DNSName restriction as per RFC 1123
> Looking to make an adjustment to DNSName constructor to help comply with
> RFC 1123
>
> https://bugs.openjdk.java.net/browse/JDK-8213952
> http://cr.openjdk.java.net/~coffeys/webrev.8213952/webrev/
>
> regards,
> Sean.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20181116/3e6dac5b/attachment.htm>


More information about the security-dev mailing list