Actions
Bug #87286
closedfelogin: Link in reset password mail is double-urlencoded
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2018-12-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The parameters in the reset password link, generated by Ext:felogin, are double-urlencoded in TYPO3 9, thus they are not clickable. The code has not changed in comparison to TYPO3 7:
sysext/felogin/Classes/Controller/FrontendLoginController.php, function generateAndSendHash():
$link = $this->pi_getPageLink($this->frontendController->id, '', [
rawurlencode($this->prefixId . '[user]') => $user['uid'],
rawurlencode($this->prefixId . '[forgothash]') => $randHash
]);
These are the outputs:
TYPO3 9: ...&tx_felogin_pi1%255Buser%255D=11018...
TYPO3 7: ...&tx_felogin_pi1%5Buser%5D=11018...
Regards,
Michael
Actions