HINA :: 工程幼稚園


偏執與強迫症的患者,算不上是無可救藥,只是我已經遇上我的良醫了。
 Author
 
Blog Image

my Gmail

Blog Look Score and Rank



Sitetag
 

Category

ALL (790)
Chats (199)
Life (36)
Photography (125)
Novel (60)
Fake stories (146)
Technical support (197)
WACOM (17)
Graphic arts (10)

Authors

Archive

Calendar

«   2010/03   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

  • Total : 526590
  • Today : 27
  • Yesterday : 208
Creative Commons License

本創作適用 姓名標示-非商業性-禁止改作 3.0 創用 CC 授權,台灣並依循所適用的授權條款。
views: 2841 times
超大字體(180%)放大字體(130%)原始字體(100%)
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
File: /lib/auth.php
Find the Line 189:
$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
Fixed like this:
$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 所寄發的密碼信件正確的連結到部落格中。

我不放檔案,因為每個版本的東西可能不同,就勞請各位自己改一下吧!
創用 CC 授權
Creative Commons License
本創作適用 姓名標示-非商業性-禁止改作 3.0 創用 CC 授權,台灣並依循所適用的授權條款。
Bookmarks
 HEMiDEMi  Technorati  Del.icio.us  Digg  funP  Yahoo!  Furl
 相關文章 
作者資訊
author image
偏執與強迫症的患者,算不上是無可救藥,只是我已經遇上我的良醫了。
TAGS , , Keyword TextCube

Trackback URL : http://blog.hinablue.me/trackback/553


Leave your greetings here.

  1. Comment RSS : http://blog.hinablue.me/rss/comment/553
  2. inureyes 2008/05/25 14:22  Modify/Delete  Reply  Address

    Without $hostURL, link will not contain full URL. $hostURL contains HTTP_HOST and port information. ^^

    Thank you for bug reports :D

[登入][OpenID是?]
Previous : 1 : ... 268 : 269 : 270 : 271 : 272 : 273 : 274 : 275 : 276 : ... 790 : Next