diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-03-06 10:02:21 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-03-06 10:02:21 +0000 |
commit | d4a7ef91847a3f8fe5f0ccf193358b0932f544d1 (patch) | |
tree | e9969e6952a964bd399512dd10d8ac76c4328eef | |
parent | b350d13830761c4378890bb8cb1e8b661f5fe8cb (diff) |
ignore trailing path separator when comparing URI on phishing check.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1030 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | src/textview.c | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2006-03-06 + * src/textview.c: textview_uri_security_check(): ignore trailing path + separator when comparing URI. + +2006-03-06 + * src/compose.[ch] src/addressbook.c: always enable To, Cc, and Bcc button. Create new compose window if not exist. diff --git a/ChangeLog.ja b/ChangeLog.ja index 6bc9b816..1b9d952b 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,10 @@ 2006-03-06 + * src/textview.c: textview_uri_security_check(): URI を比較する際 + 末尾のパス区切りを無視するようにした。 + +2006-03-06 + * src/compose.[ch] src/addressbook.c: To, Cc, Bcc ボタンを常に有効にするようにした。 メッセージ作成ウィンドウが存在しなければ新たに作成するようにした。 diff --git a/src/textview.c b/src/textview.c index a705c1c9..f4a12dcd 100644 --- a/src/textview.c +++ b/src/textview.c @@ -2082,7 +2082,7 @@ static gboolean textview_uri_security_check(TextView *textview, RemoteURI *uri) uri_path = get_uri_path(uri->uri); visible_uri_path = get_uri_path(visible_str); - if (strcmp(uri_path, visible_uri_path) != 0) + if (path_cmp(uri_path, visible_uri_path) != 0) retval = FALSE; } |