diff --git conf/regex-normalize.xml.template conf/regex-normalize.xml.template
index d14174e..c54a898 100644
--- conf/regex-normalize.xml.template
+++ conf/regex-normalize.xml.template
@@ -63,9 +63,11 @@
-
+
+
+
- (?<!:)/{2,}
+ (?<!^file:/)(?<!:)/{2,}
/
diff --git src/plugin/urlnormalizer-regex/sample/regex-normalize-default.test src/plugin/urlnormalizer-regex/sample/regex-normalize-default.test
index dbb08b5..0c014fc 100644
--- src/plugin/urlnormalizer-regex/sample/regex-normalize-default.test
+++ src/plugin/urlnormalizer-regex/sample/regex-normalize-default.test
@@ -75,3 +75,7 @@ http://www.foo.com/foo.html?&x=y http://www.foo.com/foo.html?x=y
http://www.foo.com/foo.html?x=y&&&z=a http://www.foo.com/foo.html?x=y&z=a
http://www.foo.com/foo.html? http://www.foo.com/foo.html
+# remove double slashes but keep 2 slashes after protocol (3 for file: protocol)
+http://www.foo.com//path//foo.html http://www.foo.com/path/foo.html
+https://www.foo.com//path//foo.html https://www.foo.com/path/foo.html
+file:///path//foo.html file:///path/foo.html
diff --git src/plugin/urlnormalizer-regex/sample/regex-normalize-default.xml src/plugin/urlnormalizer-regex/sample/regex-normalize-default.xml
index 69a8eba..f360e86 100644
--- src/plugin/urlnormalizer-regex/sample/regex-normalize-default.xml
+++ src/plugin/urlnormalizer-regex/sample/regex-normalize-default.xml
@@ -48,5 +48,13 @@
+
+
+
+
+ (?<!^file:/)(?<!:)/{2,}
+ /
+
+