My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 17: mb_strlen的判斷錯誤
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  appleboy.tw
Closed:  Feb 2010
Cc:  roga.lin


 
Reported by jack.xxlong, Feb 15, 2010
在plurk_api.php中的 add_plurk, edit_plurk, add_response, add_plurk中有做了字數的判斷,

但是因為mb_strlen沒有指定內部的編碼方式,所以在字數的判斷上面會有問題,

而官方的字數判斷是140個字,如果沒有指定內部編碼為"UTF-8"的話,就會(表面上計算)超過140個字,但是

實際上沒有到達140個,所以會發出responses,也可以發plurk,但是log又會記錄這個錯誤訊息,

這有點不太合常理,易造成log量容易暴增。

EragonJ.

Feb 19, 2010
Project Member #1 appleboy.tw
I fixed it, thank you for comment.
Status: Fixed
Owner: appleboy.tw
Cc: roga.lin

Powered by Google Project Hosting