Index: net/base/net_util.cc |
diff --git a/net/base/net_util.cc b/net/base/net_util.cc |
index 29b83a8a4ca8a667dc780adb69544f15d838ac22..f2d22aefbee2770a60577db2144b23d315b4de66 100644 |
--- a/net/base/net_util.cc |
+++ b/net/base/net_util.cc |
@@ -1908,8 +1908,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) { |