Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b48115

Browse files
committed
bug#39261 [Security]fix#39249, default entry_point compiler pass was returning too early (romaricdrigon)
This PR was merged into the 5.2 branch.Discussion----------[Security]fix#39249, default entry_point compiler pass was returning too early| Q | A| ------------- | ---| Branch? | 5.2 (bug introduced in 5.2.0, after RC2)| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |Fix#39249| License | MIT| Doc PR | N/AA `return` instead of `continue` was making compiler pass return after the first firewall. Hence subsequents firewalls never had a default entrypoint set.This issue would occur with all firewalls, with any type of authenticator, though I saw it first with `http_basic` - because it is a bit more opaque and harder to debug.Commits-------c377805 [Security]fix#39249, default entry_point compiler pass was returning too early
2 parents0d9dd43 +c377805 commit0b48115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterEntryPointPass.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function process(ContainerBuilder $container)
5050
}
5151

5252
if (!$entryPoints) {
53-
return;
53+
continue;
5454
}
5555

5656
$config =$container->getDefinition('security.firewall.map.config.'.$firewallName);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp