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

login removes app_dev.php #1432

Closed
fritzmg opened this issue Mar 16, 2018 · 6 comments
Closed

login removes app_dev.php #1432

fritzmg opened this issue Mar 16, 2018 · 6 comments
Assignees
Labels
Milestone

Comments

@fritzmg
Copy link
Contributor

fritzmg commented Mar 16, 2018

Reproduction:

  1. Access the back end login page via example.org/app_dev.php/contao/login.
  2. Log into your account.

You will be redirected to example.org/contao instead of example.org/app_dev.php/contao.

@m-vo
Copy link
Member

m-vo commented Mar 18, 2018

I experienced that as well and I remember there were also other situations when using the backed were this was the case.

@leofeyer leofeyer added the bug label Mar 19, 2018
@leofeyer leofeyer added this to the 4.5.7 milestone Mar 19, 2018
@leofeyer
Copy link
Member

The _target_path field does not contain app_dev.php.

@fritzmg
Copy link
Contributor Author

fritzmg commented Mar 19, 2018

I experienced that as well and I remember there were also other situations when using the backed were this was the case.

Yes, but this usually only occurs if you add app_dev.php while already being in the back end. Your session might still contain URLs without app_dev.php, so if you click Save & close or Back somewhere, you might be redirected to that URL.

@m-vo
Copy link
Member

m-vo commented Mar 19, 2018

True!

@aschempp
Copy link
Member

The _target_path field does not contain app_dev.php.

I've had this issue as well. Looks like a Symfony bug to me if the entry point is not added when generating the URL?

@leofeyer
Copy link
Member

Fixed in c0026a7.

@leofeyer leofeyer modified the milestones: 4.5.7, 4.5 May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants