[BUGFIX] Don't save form protection error messages in session
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 25 Sep 2011 14:52:53 +0000 (16:52 +0200)
committerHelmut Hummel <typo3@helmut-hummel.de>
Sun, 19 Feb 2012 18:25:38 +0000 (19:25 +0100)
commitc674ade8753b08927bec7dde39999f53bdfd4fdd
tree9890f3d04a68c2995f275413489bbd108d336302
parent35ab7324e811adea7bbd9a4fdbf33f0b5ce333e8
[BUGFIX] Don't save form protection error messages in session

Do not persist flash messages in the session if we are in an Ajax context
because then the flash message is rendered out of context the next time
the flash message queue is flushed.

Change-Id: Ib63e33b7b57a0058e2b5face375bfecf5a6efed2
Resolves: #30272
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9109
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
t3lib/formprotection/class.t3lib_formprotection_backendformprotection.php
tests/t3lib/formprotection/class.t3lib_formprotection_BackendFormProtectionTest.php