stable

Clone or download

Read-only

Prevent potential infinite redirection loop when saving the deactivation of deprecated browser warning

This contribution makes sure the page saving the deactivation of the banner can only be called with a POST request as all state changing actions should. It also makes sure that if the CSRf verification fails, the user is redirected to an existing page. Fix request #13428: Make sure the page /account/disable_ie7_warning.php does not go in a infinite redirection loop when the CSRF verification fails Change-Id: I9126b21724760e243adec3ef6719f3471c47aa1f

Modified Files

Name
M site-content/en_US/include/include.tab +0 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +4 −0 Go to diff View file
M site-content/fr_FR/include/include.tab +0 −1 Go to diff View file
M src/common/Request/RouteCollector.php +7 −0 Go to diff View file
A src/common/User/Account/DisableLegacyBrowsersWarningMessageController.php +44 −0 Go to diff View file
M src/common/include/BrowserIEDeprecated.php +3 −3 Go to diff View file
D src/www/account/disable_ie7_warning.php +0 −31 Go to diff View file