[TYPO3-english] felogin forgot/reset password email link broken
Bas van Beek
bvbmedia at gmail.com
Wed Oct 17 16:01:05 CEST 2012
I confirm this issue is still there, even in the latest TYPO3 version.
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);
Best regards,
Bas van Beek
Web developer
Typo3 Multishop / BVB Media Ltd
LinkedIn: http://nl.linkedin.com/in/basvanbeek
Web: http://www.typo3multishop.com
Twitter: http://twitter.com/typo3multishop
LinkedIn: http://www.linkedin.com/groups?gid=3117344
Facebook:
http://www.facebook.com/pages/Typo3-Multishop/127486630606749
Skype: typo3multishop
More information about the TYPO3-english
mailing list