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

4.4.x nach Logout funktioniert "zurück"-Button des Browsers leider noch #129

Closed
Physiklehrer opened this issue Oct 12, 2018 · 3 comments
Closed
Labels

Comments

@Physiklehrer
Copy link
Contributor

Contao 4.4.x-4.6.x

Auch nach der Abmeldung lassen sich die geschützten Seiten noch über den "zurück"-Button des Browsers erreichen, siehe https://community.contao.org/de/showthread.php?72132-nach-Logout-funktioniert-quot-zur%C3%BCck-quot-Button-des-Browsers-leider-noch

Reproduzieren: geschützten Bereich anlegen, mit Firefox verschiedene Seiten im geschützten Bereich besuchen, ausloggen, "zurück" anklicken => Seiten sind sichtbar. In Contao 3.5 kommt "Zugriff verweigert".

Lösungsidee: Contao 3.5 sendet hinsichtlich Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0", Contao 4 jedoch nur "must-revalidate, no-cache, private". Offenbar reicht das nicht aus.

@leofeyer
Copy link
Member

@contao/developers /cc

@leofeyer leofeyer added the bug label Oct 19, 2018
@leofeyer leofeyer added this to the 4.4.27 milestone Oct 19, 2018
@Toflar
Copy link
Member

Toflar commented Oct 19, 2018

Symfony setzt standardmässig auf no-cache und ignoriert no-store. Die entsprechenden Issues und Pull Requests sind seit längerem bei Symfony offen, da können wir nichts unternehmen. Hatte vor ein paar Tagen nochmal ein Issue aufgemacht: symfony/symfony#28872

@leofeyer leofeyer removed this from the 4.4.27 milestone Oct 29, 2018
@Physiklehrer
Copy link
Contributor Author

Nach meinen Tests tritt der Fehler in 4.4.36 nun nicht mehr auf. Das entsprechende Symfony-Ticket wurde am 25. Februar geschlossen. Von daher kann dieser Issue gerne geschlossen werden. Danke!

@leofeyer leofeyer closed this as completed Apr 8, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants