Index: net/base/net_util.cc |
diff --git a/net/base/net_util.cc b/net/base/net_util.cc |
index 5ecf74042bf250a4b164cb1aeeafa50b6d534aaa..7d5e0b8069992a71ac2b493c3f9cadfbfc5a10cf 100644 |
--- a/net/base/net_util.cc |
+++ b/net/base/net_util.cc |
@@ -1898,8 +1898,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) { |