Actions
Bug #89515
closedBackend users having old bookmark/shortcut with missing parameter query in returnUrl cannot access backend
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
2019-10-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
TYPO3 9.5.9
1000+ BE Users
Can't login with one (found so far)
Error:
(1/1) TypeError
parse_str() expects parameter 1 to be string, null given
in /var/www/html/web/typo3/sysext/backend/Classes/Backend/Shortcut/ShortcutRepository.php line 741
Problem is when there are entrys in sys_be_shortcuts with an old style (Updated from TYPO3 7) like
/typo3/alt_doc.php?&returnUrl=/typo3/index.php?&M=web_layout&id=12046&edit[tt_content][189684]=edit&defVals=&overrideVals=&columnsOnly=&returnNewPageId=&editRegularContentFromId=&disHelp=&noView=&SET[showPalettes]=1
without the param "query" in returnUrl.
Checking the code line from the error, I solved it with the following change.
Files
Actions