tweaking the regex for reduce_double_slashes to correctly handle duplicates at the beginning of the string
diff --git a/system/helpers/string_helper.php b/system/helpers/string_helper.php
index 3f7f09a..dbfa0c4 100644
--- a/system/helpers/string_helper.php
+++ b/system/helpers/string_helper.php
@@ -140,7 +140,7 @@
 {
 	function reduce_double_slashes($str)
 	{
-		return preg_replace("#([^:])//+#", "\\1/", $str);
+		return preg_replace("#(^|[^:])//+#", "\\1/", $str);
 	}
 }