update2
This commit is contained in:
parent
98419bd18d
commit
8a69e45efa
4919 changed files with 28311 additions and 224136 deletions
2
pfosten/vendor/symfony/http-foundation/ServerBag.php
vendored
Executable file → Normal file
2
pfosten/vendor/symfony/http-foundation/ServerBag.php
vendored
Executable file → Normal file
|
|
@ -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 '))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue