diff options
Diffstat (limited to 'Http')
-rw-r--r-- | Http/Firewall/DigestAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/composer.json | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Http/Firewall/DigestAuthenticationListener.php b/Http/Firewall/DigestAuthenticationListener.php index e459152..c5aaca3 100644 --- a/Http/Firewall/DigestAuthenticationListener.php +++ b/Http/Firewall/DigestAuthenticationListener.php @@ -161,7 +161,7 @@ class DigestData public function getUsername() { - return strtr($this->elements['username'], array("\\\"" => "\"", "\\\\" => "\\")); + return strtr($this->elements['username'], array('\\"' => '"', '\\\\' => '\\')); } public function validateAndDecode($entryPointKey, $expectedRealm) diff --git a/Http/composer.json b/Http/composer.json index 9c4dc1d..2b0041a 100644 --- a/Http/composer.json +++ b/Http/composer.json @@ -33,9 +33,8 @@ "symfony/routing": "For using the HttpUtils class to create sub-requests, redirect the user, and match URLs" }, "autoload": { - "psr-0": { "Symfony\\Component\\Security\\Http\\": "" } + "psr-4": { "Symfony\\Component\\Security\\Http\\": "" } }, - "target-dir": "Symfony/Component/Security/Http", "minimum-stability": "dev", "extra": { "branch-alias": { |