Index: trunk/phase3/includes/libs/CSSMin.php |
— | — | @@ -146,7 +146,7 @@ |
147 | 147 | $file = "{$local}/{$match['file'][0]}"; |
148 | 148 | // bug 27052 - Guard against double slashes, because foo//../bar |
149 | 149 | // apparently resolves to foo/bar on (some?) clients |
150 | | - $url = preg_replace( '#[^:]//+#', '/', $url ); |
| 150 | + $url = preg_replace( '#([^:])//+#', '\1/', $url ); |
151 | 151 | $replacement = false; |
152 | 152 | if ( $local !== false && file_exists( $file ) ) { |
153 | 153 | // Add version parameter as a time-stamp in ISO 8601 format, |