Laravel version update
Laravel version update
This commit is contained in:
2
vendor/symfony/http-foundation/ServerBag.php
vendored
2
vendor/symfony/http-foundation/ServerBag.php
vendored
@@ -68,7 +68,7 @@ class ServerBag extends ParameterBag
|
||||
if (0 === stripos($authorizationHeader, 'basic ')) {
|
||||
// Decode AUTHORIZATION header into PHP_AUTH_USER and PHP_AUTH_PW when authorization header is basic
|
||||
$exploded = explode(':', base64_decode(substr($authorizationHeader, 6)), 2);
|
||||
if (count($exploded) == 2) {
|
||||
if (2 == \count($exploded)) {
|
||||
list($headers['PHP_AUTH_USER'], $headers['PHP_AUTH_PW']) = $exploded;
|
||||
}
|
||||
} elseif (empty($this->parameters['PHP_AUTH_DIGEST']) && (0 === stripos($authorizationHeader, 'digest '))) {
|
||||
|
Reference in New Issue
Block a user