| Index: components/safe_browsing_db/v4_protocol_manager_util_unittest.cc
|
| diff --git a/components/safe_browsing_db/v4_protocol_manager_util_unittest.cc b/components/safe_browsing_db/v4_protocol_manager_util_unittest.cc
|
| index f3effaba41374b9759b7eae74be751070db02a86..aaaacd3dfbfb688938f793228f25c34bf0b468e0 100644
|
| --- a/components/safe_browsing_db/v4_protocol_manager_util_unittest.cc
|
| +++ b/components/safe_browsing_db/v4_protocol_manager_util_unittest.cc
|
| @@ -205,15 +205,13 @@ TEST_F(V4ProtocolManagerUtilTest, CanonicalizeUrl) {
|
| {"http://notrailingslash.com", "notrailingslash.com", "/", ""},
|
| {"http://www.gotaport.com:1234/", "www.gotaport.com", "/", ""},
|
| {" http://www.google.com/ ", "www.google.com", "/", ""},
|
| - {"http:// leadingspace.com/", "%20leadingspace.com", "/", ""},
|
| - {"http://%20leadingspace.com/", "%20leadingspace.com", "/", ""},
|
| {"https://www.securesite.com/", "www.securesite.com", "/", ""},
|
| {"http://host.com/ab%23cd", "host.com", "/ab%23cd", ""},
|
| - {"http://host%3e.com//twoslashes?more//slashes", "host>.com",
|
| + {"http://host%5A.com//twoslashes?more//slashes", "hostz.com",
|
| "/twoslashes", "more//slashes"},
|
| {"http://host.com/abc?val=xyz#anything", "host.com", "/abc", "val=xyz"},
|
| {"http://abc:def@host.com/xyz", "host.com", "/xyz", ""},
|
| - {"http://host%3e.com/abc/%2e%2e%2fdef", "host>.com", "/def", ""},
|
| + {"http://host%5a.com/abc/%2e%2e%2fdef", "hostz.com", "/def", ""},
|
| {"http://.......host...com.....//abc/////def%2F%2F%2Fxyz", "host.com",
|
| "/abc/def/xyz", ""},
|
| {"ftp://host.com/foo?bar", "host.com", "/foo", "bar"},
|
|
|