aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-06 10:02:21 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-06 10:02:21 +0000
commitd4a7ef91847a3f8fe5f0ccf193358b0932f544d1 (patch)
treee9969e6952a964bd399512dd10d8ac76c4328eef
parentb350d13830761c4378890bb8cb1e8b661f5fe8cb (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--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/textview.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f7de57fa..51d87856 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}