mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixing typo in Requirements allowing access to files requested with query strings
This commit is contained in:
parent
51c6a87fc7
commit
af6eccea96
@ -794,7 +794,7 @@ class Requirements_Backend {
|
||||
$mtimesuffix = "";
|
||||
$suffix = '';
|
||||
if(strpos($fileOrUrl, '?') !== false) {
|
||||
$suffix = '&' . substr($fileOrUrl, strpos($fileOrUrl, '?')+1);
|
||||
$suffix = '?' . substr($fileOrUrl, strpos($fileOrUrl, '?')+1);
|
||||
$fileOrUrl = substr($fileOrUrl, 0, strpos($fileOrUrl, '?'));
|
||||
}
|
||||
if($this->suffix_requirements) {
|
||||
|
Loading…
Reference in New Issue
Block a user