diff options
author | ace@google.com <ace@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-02 22:51:21 +0000 |
---|---|---|
committer | ace@google.com <ace@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-02 22:51:21 +0000 |
commit | ce3bd9ed587c3e95280387a1a78b16682352647b (patch) | |
tree | eafe41b764ab24bb70b2ea77968fe567912ebbeb /net/http/http_auth_unittest.cc | |
parent | dbf63802c407b932bd9dae2d62c4c436b26903af (diff) | |
download | chromium_src-ce3bd9ed587c3e95280387a1a78b16682352647b.zip chromium_src-ce3bd9ed587c3e95280387a1a78b16682352647b.tar.gz chromium_src-ce3bd9ed587c3e95280387a1a78b16682352647b.tar.bz2 |
Fix for bug 9608. adding check that tokenized header is valid.
Review URL: http://codereview.chromium.org/60008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_unittest.cc')
-rw-r--r-- | net/http/http_auth_unittest.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/http/http_auth_unittest.cc b/net/http/http_auth_unittest.cc index 0599246..9bd750e 100644 --- a/net/http/http_auth_unittest.cc +++ b/net/http/http_auth_unittest.cc @@ -39,6 +39,13 @@ TEST(HttpAuthTest, ChooseBestChallenge) { // Pick Digset over Basic "DigestRealm", + }, + { + "Y: Digest realm=\"X\", nonce=\"aaaaaaaaaa\"\n" + "www-authenticate:\n", + + // Handle null header value. + "", } }; |