Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.

Commit 725e8e8

Browse files
committed
Fix #75210 - thanks to Stefan Galinski
1 parent 471f8e4 commit 725e8e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Classes/StaticFileCache.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,11 @@ protected function recreateURI($uri)
201201
// prevent this situation by return the original request URI
202202
return $uri;
203203
}
204-
return $uriBuilder->reset()
204+
$url = $uriBuilder->reset()
205205
->setAddQueryString(true)
206206
->build();
207+
208+
return preg_replace('/https?:\/\/[^\/]+/is', '', $url);
207209
}
208210

209211
/**

0 commit comments

Comments
 (0)