Skip to content

[Security] Avoid unnecessary route lookup for empty logout path #22584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2017
Merged

[Security] Avoid unnecessary route lookup for empty logout path #22584

merged 1 commit into from
May 11, 2017

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented Apr 29, 2017

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no-ish
Deprecations? no
Tests pass? yes/no
Fixed tickets #...
License MIT
Doc PR symfony/symfony-docs#...

i first included this with #22572 where having logout: { path: ~ } makes more sense for disabling logout path matching/generation. But currently it's already allowed and causes an unneeded route lookup and url generation.

@fabpot
Copy link
Member

fabpot commented May 11, 2017

Thank you @ro0NL.

@fabpot fabpot merged commit 2967807 into symfony:2.7 May 11, 2017
fabpot added a commit that referenced this pull request May 11, 2017
… path (ro0NL)

This PR was merged into the 2.7 branch.

Discussion
----------

[Security] Avoid unnecessary route lookup for empty logout path

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no-ish
| Deprecations? | no
| Tests pass?   | yes/no
| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->

i first included this with #22572 where having `logout: { path: ~ }` makes more sense for disabling logout path matching/generation. But currently it's already allowed and causes an unneeded route lookup and url generation.

Commits
-------

2967807 [Security] Avoid unnecessary route lookup for empty logout path
@ro0NL ro0NL deleted the logoutpath branch May 11, 2017 17:36
@fabpot fabpot mentioned this pull request May 17, 2017
This was referenced May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants