aboutsummaryrefslogtreecommitdiff
path: root/src/textview.c
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 /src/textview.c
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
Diffstat (limited to 'src/textview.c')
-rw-r--r--src/textview.c2
1 files changed, 1 insertions, 1 deletions
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;
}