mirror of
https://github.com/mrclay/minify.git
synced 2025-07-31 19:30:29 +02:00
Make code symmetric: Check on ConditionalGet as well
This partly reverts 5705fc9d89
This commit is contained in:
@@ -317,7 +317,9 @@ class HTTP_ConditionalGet
|
||||
if (!isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
|
||||
return false;
|
||||
}
|
||||
$clientEtagList = $_SERVER['HTTP_IF_NONE_MATCH'];
|
||||
$clientEtagList = PHP_VERSION_ID < 50400 && get_magic_quotes_gpc()
|
||||
? stripslashes($_SERVER['HTTP_IF_NONE_MATCH'])
|
||||
: $_SERVER['HTTP_IF_NONE_MATCH'];
|
||||
$clientEtags = explode(',', $clientEtagList);
|
||||
|
||||
$compareTo = $this->normalizeEtag($this->_etag);
|
||||
|
Reference in New Issue
Block a user