fix never matched condition, kudos @ShiftLeftSecurity, found via #807
This commit is contained in:
parent
a2ffbafa13
commit
2bc54caa07
@ -288,7 +288,7 @@ class Request
|
||||
}
|
||||
krsort($mediaTypes);
|
||||
foreach ($mediaTypes as $acceptedQuality => $acceptedValues) {
|
||||
if ($acceptedQuality === 0.0) {
|
||||
if ($acceptedQuality === '0.0') {
|
||||
continue;
|
||||
}
|
||||
foreach ($acceptedValues as $acceptedValue) {
|
||||
|
Loading…
Reference in New Issue
Block a user