Fix #75210 - thanks to Stefan Galinski
authorTim Lochmüller <tim@fruit-lab.de>
Mon, 21 Mar 2016 21:05:44 +0000 (22:05 +0100)
committerTim Lochmüller <tim@fruit-lab.de>
Mon, 21 Mar 2016 21:05:44 +0000 (22:05 +0100)
Classes/StaticFileCache.php

index e94e2cb..1697432 100644 (file)
@@ -201,9 +201,11 @@ class StaticFileCache implements SingletonInterface
             // prevent this situation by return the original request URI
             return $uri;
         }
-        return $uriBuilder->reset()
+        $url = $uriBuilder->reset()
             ->setAddQueryString(true)
             ->build();
+
+        return preg_replace('/https?:\/\/[^\/]+/is', '', $url);
     }
 
     /**