netty5/handler/src
Norman Maurer 620dad0c26
Allow to validate sni hostname with underscore (#8150)
Motivation:

We should allow to also validate sni hostname which contains for example underscore when using our native SSL impl. The JDK implementation does this as well.

Modifications:

- Construct the SNIHostName via byte[] and not String.
- Add unit test

Result:

Fixes https://github.com/netty/netty/issues/8144.
2018-07-27 01:56:32 +08:00
..
main/java/io/netty/handler Allow to validate sni hostname with underscore (#8150) 2018-07-27 01:56:32 +08:00
test Allow to validate sni hostname with underscore (#8150) 2018-07-27 01:56:32 +08:00