Project

General

Profile

Actions

Bug #42080

closed

Felogin sends password forgotten link that is being cut off by e-mail clients like Hotmail

Added by Bas van Beek about 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Category:
felogin
Target version:
-
Start date:
2012-10-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Because the password forgotten link contains a dash (|) the link is broken in e-mail clients like Hotmail.

This can be fixed by encoding the dash character.

I.e.:

Edit the 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);

Actions

Also available in: Atom PDF