Project

General

Profile

Actions

Bug #87286

closed

felogin: Link in reset password mail is double-urlencoded

Added by Michael Sollmann almost 6 years ago. Updated almost 6 years ago.

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


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #87153: Reset password in the `felogin` not workingClosed2018-12-13

Actions
Actions

Also available in: Atom PDF