Bug #30272

Form protection: Do not save flash messages in session during an Ajax request

Added by Helmut Hummel almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
Start date:
2011-09-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
If form token validation fails in the backend, a flash message is created and stored in the session.
This is not desired during an Ajax request, because then the flash message is rendered out of context the next time the flash message queue is flushed

Solution:
Do not persist flash messages in the session if we are in an Ajax context.


Related issues

Is duplicate of TYPO3 Core - Bug #24808: Unnecessary message about security tokenClosedHelmut Hummel2011-01-25

Actions
#1

Updated by Mr. Hudson almost 10 years ago

Patch set 1 of change Id47b11b661264ebac37922c3356b64cbde8516c3 has been pushed to the review server.
It is available at http://review.typo3.org/5327

#2

Updated by Helmut Hummel almost 10 years ago

  • Status changed from Accepted to Closed

closed as duplicate

Also available in: Atom PDF