From d4a7ef91847a3f8fe5f0ccf193358b0932f544d1 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 6 Mar 2006 10:02:21 +0000 Subject: 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 --- src/textview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3