Actions
Bug #24790
closedForm protection tokens get lost because of a race condition when persisting tokens
Start date:
2011-01-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Problem:
If two (or more) scripts are executed (almost) at the same time, both scripts retrieve the same token array from the session. Both scripts will create new tokens independently. The script that is executed last will overwrite the tokens generated by the first script.
Solution:
Before writing all tokens back to the session we need to retrieve the current tokens from the session again and lock this for one process only.
- Apply the test patch
- Reload the backend
- Go to file list module and wait until both frames loaded
- hover over the help icon in navigation frame
(issue imported from #M17289)
Files
Updated by Oliver Hader almost 14 years ago
Committed follow-up to trunk, rev. 10302 by Steffen Kamper
(Fixed bug with endless loop at login/logout)
-> will be part of TYPO3 4.5-RC3
Actions