| Index: net/base/net_util.cc
|
| diff --git a/net/base/net_util.cc b/net/base/net_util.cc
|
| index 2ba3b4688f1dc3718c58f0d03aa52ba211edebb3..5fd3ddb67adfe0b2707dbed46f7b0919431c8499 100644
|
| --- a/net/base/net_util.cc
|
| +++ b/net/base/net_util.cc
|
| @@ -1907,8 +1907,9 @@ string16 FormatUrl(const GURL& url,
|
| bool CanStripTrailingSlash(const GURL& url) {
|
| // Omit the path only for standard, non-file URLs with nothing but "/" after
|
| // the hostname.
|
| - return url.IsStandard() && !url.SchemeIsFile() && !url.has_query() &&
|
| - !url.has_ref() && url.path() == "/";
|
| + return url.IsStandard() && !url.SchemeIsFile() &&
|
| + !url.SchemeIsFileSystem() && !url.has_query() && !url.has_ref()
|
| + && url.path() == "/";
|
| }
|
|
|
| GURL SimplifyUrlForRequest(const GURL& url) {
|
|
|