From 498e0b560532e00d05d9b3f45c885348935daad8 Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Sun, 7 Sep 2008 09:05:14 +0000 Subject: [PATCH] 2008-09-07 [colin] 3.5.0cvs92 * src/textview.c Fix bug 1712, 'invalid "Phishing attempt warning" when linked text ends with spaces' --- ChangeLog | 6 ++++++ PATCHSETS | 1 + configure.ac | 2 +- src/textview.c | 2 ++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 94f6b36bb..807dad429 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-07 [colin] 3.5.0cvs92 + + * src/textview.c + Fix bug 1712, 'invalid "Phishing attempt warning" + when linked text ends with spaces' + 2008-09-05 [colin] 3.5.0cvs91 * src/procmime.c diff --git a/PATCHSETS b/PATCHSETS index 90f11dd30..55bca45d1 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -3503,3 +3503,4 @@ ( cvs diff -u -r 1.395.2.388 -r 1.395.2.389 src/summaryview.c; ) > 3.5.0cvs89.patchset ( cvs diff -u -r 1.382.2.471 -r 1.382.2.472 src/compose.c; ) > 3.5.0cvs90.patchset ( cvs diff -u -r 1.49.2.114 -r 1.49.2.115 src/procmime.c; ) > 3.5.0cvs91.patchset +( cvs diff -u -r 1.96.2.204 -r 1.96.2.205 src/textview.c; ) > 3.5.0cvs92.patchset diff --git a/configure.ac b/configure.ac index 6a463410f..5dad85347 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=5 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=91 +EXTRA_VERSION=92 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/textview.c b/src/textview.c index 39923fb0f..7c0ea89f6 100644 --- a/src/textview.c +++ b/src/textview.c @@ -2749,6 +2749,8 @@ gboolean textview_uri_security_check(TextView *textview, ClickableText *uri) if (visible_str == NULL) return TRUE; + g_strstrip(visible_str); + if (strcmp(visible_str, uri->uri) != 0 && is_uri_string(visible_str)) { gchar *uri_path; gchar *visible_uri_path; -- 2.25.1