| Index: net/quic/core/crypto/crypto_utils.cc
|
| diff --git a/net/quic/core/crypto/crypto_utils.cc b/net/quic/core/crypto/crypto_utils.cc
|
| index b382339f47ec782397c73027391b3107658acf4a..87bc422452d9133f028aa9272e4834aaa389903f 100644
|
| --- a/net/quic/core/crypto/crypto_utils.cc
|
| +++ b/net/quic/core/crypto/crypto_utils.cc
|
| @@ -54,11 +54,6 @@ void CryptoUtils::GenerateNonce(QuicWallTime now,
|
|
|
| // static
|
| bool CryptoUtils::IsValidSNI(StringPiece sni) {
|
| - // TODO(rtenneti): Support RFC2396 hostname.
|
| - // NOTE: Microsoft does NOT enforce this spec, so if we throw away hostnames
|
| - // based on the above spec, we may be losing some hostnames that windows
|
| - // would consider valid. By far the most common hostname character NOT
|
| - // accepted by the above spec is '_'.
|
| url::CanonHostInfo host_info;
|
| string canonicalized_host(CanonicalizeHost(sni.as_string(), &host_info));
|
| return !host_info.IsIPAddress() &&
|
|
|