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 /src | |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/textview.c | 2 |
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; } |