Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: net/cert/x509_certificate_unittest.cc

Issue 2397873002: Reject some previuosly-escaped chars in hostnames.
Patch Set: Some tests fixed Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/filename_util_unittest.cc ('k') | net/http/http_security_headers_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/x509_certificate_unittest.cc
diff --git a/net/cert/x509_certificate_unittest.cc b/net/cert/x509_certificate_unittest.cc
index 9cadb266849f493a6b915d34573a3f079fda864a..0405294d6e9bc59ed6027e62189793cd4acdc1c3 100644
--- a/net/cert/x509_certificate_unittest.cc
+++ b/net/cert/x509_certificate_unittest.cc
@@ -973,7 +973,6 @@ const CertificateNameVerifyTestData kNameVerifyTestData[] = {
{ false, "WALLY.bar.foo.com", "wa*.bar.foo.com" },
{ false, "wally.bar.foo.com", "*Ly.bar.foo.com" },
{ true, "ww%57.foo.com", "", "www.foo.com" },
- { true, "www&.foo.com", "www%26.foo.com" },
// Common name must not be used if subject alternative name was provided.
{ false, "www.test.co.jp", "www.test.co.jp",
"*.test.de,*.jp,www.test.co.uk,www.*.co.jp" },
« no previous file with comments | « net/base/filename_util_unittest.cc ('k') | net/http/http_security_headers_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698