[geeklogjp-devel 355] Issue 70 in geeklog-jp: メール送信で,送信者,受信者が引用符で囲まれる

Back to archive index

codes****@googl***** codes****@googl*****
2009年 4月 19日 (日) 23:41:57 JST


Status: Accepted
Owner: ivysoho
Labels: Type-Defect Priority-Medium

New issue 70 by ivysoho: メール送信で,送信者,受信者が引用符で囲まれる
http://code.google.com/p/geeklog-jp/issues/detail?id=70

問題を再現するための操作手順を記入して下さい。
1. メール送信機能でメールを送信する

正常に動作する場合に、期待される出力(表示)はなんですか?
送信者,受信者が引用符で囲まれない
タイトルが文字化け・文字切れしない

実際にはどのように出力(表示)されますか?
送信者,受信者が引用符で囲まれる
From: "\"Geeklog Japanese\"" <norep****@geekl*****>
To: "\"○○○\"" <○○○@○○○○○>

タイトルが文字化け・文字切れする

Geeklogのバージョン(開発版ではSubversionのブランチやリビジョン)は何ですか?
Geeklog1.5.2sr4

ラベルとテキストを使用して、できるだけ詳しく情報を提供して下さい。
265行目あたりの以下の行をすべてコメントアウトすれば送信者,受信者が引用符で
囲まれる不具合は解消します。
     if (version_compare(VERSION, '1.5.2') < 0) {
         list($temp_to_comment, $temp_to_address) = CUSTOM_splitAddress($to);
         $to      = CUSTOM_formatEmailAddress($temp_to_comment,
$temp_to_address);
         list($temp_cc_comment, $temp_cc_address) = CUSTOM_splitAddress($cc);
         $cc      = CUSTOM_formatEmailAddress($temp_cc_comment,
$temp_cc_address);
         list($temp_from_comment, $temp_from_address) =
CUSTOM_splitAddress($from);
         $from    = CUSTOM_formatEmailAddress($temp_from_comment,
$temp_from_address);
         $subject = CUSTOM_emailEscape($subject);
     }

define('CUSTOM_MAIL_HEADER_LENGTH', 400);
これでタイトル文字切れが解消します。
(1.5.1まではデフォルトの68のままで,文字切れしていませんでした。)

define('CUSTOM_MAIL_HEADER_LINEBREAK', "\n");
これで多くのサーバで,タイトル文字化けや本文にヘッダが表示される不具合が解
消されます。ただし,これはサーバによって設定を変更するものなので,デフォル
トを変更すべきかどうかは別途検討する必要があります。

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




Geeklogjp-devel メーリングリストの案内
Back to archive index