[TYPO3-english] felogin forgot/reset password email link broken

BVB Media - Bas van Beek bvbmedia at gmail.com
Fri Oct 19 10:36:04 CEST 2012


Hi Katja,
 
I confirm this issue is still there, even in the current TYPO3 version (4.7.4).
 
It's easy to fix though. Open the following file:
 
sysext/felogin/pi1/class.tx_felogin_pi1.php
 
Replace:
 
$msg = sprintf($this->pi_getLL('ll_forgot_validate_reset_password', '', 0), $user['username'], $link, $validEndString);
 
With:
 
// BVB Media hack: password forgotten link is being cut off in e-mail clients like Hotmail. We simply replace the dash with an encoded dash to bypass the broken link problem.
$link=str_replace('|',rawurlencode('|'),$link);
$msg = sprintf($this->pi_getLL('ll_forgot_validate_reset_password', '', 0), $user['username'], $link, $validEndString);
 
Met innovatieve groet / With best regards,

Bas van Beek
Webdeveloper
 
BVB Media B.V. / TYPO3 Multishop
 


More information about the TYPO3-english mailing list