Skip to content
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

Fix the logout path when not using the router #17048

Merged
merged 1 commit into from Dec 18, 2015

Conversation

stof
Copy link
Member

@stof stof commented Dec 17, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #17029
License MIT
Doc PR n/a

This needs to use the base url, not the base path, so that it goes through the front controller when not using url rewriting.

This needs to use the base url, not the base path, so that it goes
through the front controller when not using url rewriting.
@stof
Copy link
Member Author

stof commented Dec 17, 2015

I'm sending another PR for the bugfix in 2.7+ as the code is not here anymore

@xabbuh
Copy link
Member

xabbuh commented Dec 17, 2015

Can we add a test for this to prevent regressions?

@dunglas
Copy link
Member

dunglas commented Dec 17, 2015

👍

nicolas-grekas added a commit that referenced this pull request Dec 18, 2015
This PR was merged into the 2.7 branch.

Discussion
----------

Fix the logout path when not using the router

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17029
| License       | MIT
| Doc PR        | n/a

This needs to use the base url, not the base path, so that it goes through the front controller when not using url rewriting.

Similar to #17048, but in the new code location

Commits
-------

542b877 Fix the logout path when not using the router
@nicolas-grekas
Copy link
Member

Thank you @stof.

@nicolas-grekas nicolas-grekas merged commit 1a2567e into symfony:2.3 Dec 18, 2015
nicolas-grekas added a commit that referenced this pull request Dec 18, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Fix the logout path when not using the router

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17029
| License       | MIT
| Doc PR        | n/a

This needs to use the base url, not the base path, so that it goes through the front controller when not using url rewriting.

Commits
-------

1a2567e Fix the logout path when not using the router
@stof stof deleted the fix_logout_url branch December 18, 2015 09:40
@nicolas-grekas
Copy link
Member

@xabbuh merged because testing is really hard currently

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.

None yet

5 participants