BUG Report version: TextCube 1.5x, 1.6x, 1.7x
File: /interface/login/index.php
Find and Delete this Line (about line 26):
$blogURL = getBlogURL();
keep the /lib/auth.php, DO NOT MODIFY IT.
BUG Report version: TextCube 1.5x, 1.6x, 1.7x
$message = str_replace('[##_link_##]', "$hostURL$blogURL/login?loginid=" . rawurlencode($loginid) . '&password=' . rawurlencode($authtoken) . '&requestURI=' . rawurlencode("$hostURL$blogURL/owner/setting/account?password=" . rawurlencode($password)), $message);
REMOVE THIS: $hostURL$message = str_replace('[##_link_##]',
"$blogURL/login?loginid=" . rawurlencode($loginid) .
'&password=' . rawurlencode($authtoken) . '&requestURI=' .
rawurlencode("$blogURL/owner/setting/account?password=" .
rawurlencode($password)), $message);
這支 bug 存在很久了,我追朔到 TC 1.5 好像就有了。之前有沒有我不知道,這是在討論區 winne 再問的時候我翻到的,起初我還以為他所謂的初始化密碼是使用者的那一塊,結果不是,反而是在登入登出的認證介面那邊!感謝 winne 讓我挖到這個臭蟲囉!
這個 bug 會讓使用者的重新設定密碼的信件連結錯誤,導致使用者無法正確的從 TC 所寄發的密碼信件正確的連結到部落格中。
我不放檔案,因為每個版本的東西可能不同,就勞請各位自己改一下吧!
Posted by hina



