Project

General

Profile

Actions

Bug #30272

closed

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

Added by Helmut Hummel over 12 years ago. Updated over 12 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Mr. Hudson over 12 years ago

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

Actions #2

Updated by Helmut Hummel over 12 years ago

  • Status changed from Accepted to Closed

closed as duplicate

Actions

Also available in: Atom PDF