diff options
Diffstat (limited to 'net/http/http_auth_handler_basic_unittest.cc')
-rw-r--r-- | net/http/http_auth_handler_basic_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/http/http_auth_handler_basic_unittest.cc b/net/http/http_auth_handler_basic_unittest.cc index bdf52bf..d78dd3d 100644 --- a/net/http/http_auth_handler_basic_unittest.cc +++ b/net/http/http_auth_handler_basic_unittest.cc @@ -20,6 +20,8 @@ TEST(HttpAuthHandlerBasicTest, GenerateCredentials) { { L"", L"foobar", "Basic OmZvb2Jhcg==" }, // Empty password { L"anon", L"", "Basic YW5vbjo=" }, + // Empty username and empty password. + { L"", L"", "Basic Og==" }, }; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { std::string challenge = "Basic realm=\"Atlantis\""; |