diff options
Diffstat (limited to 'url/url_canon_relative.cc')
-rw-r--r-- | url/url_canon_relative.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/url/url_canon_relative.cc b/url/url_canon_relative.cc index 84317f8..f9e6c13 100644 --- a/url/url_canon_relative.cc +++ b/url/url_canon_relative.cc @@ -479,7 +479,7 @@ bool DoResolveRelativeURL(const char* base_url, // handles the special case where the URL is only slashes, since that // doesn't have a host part either. if (base_is_file && - (num_slashes > 2 || num_slashes == relative_component.len)) { + (num_slashes >= 2 || num_slashes == relative_component.len)) { return DoResolveAbsoluteFile(relative_url, relative_component, query_converter, output, out_parsed); } |