commit 498e0b560532e00d05d9b3f45c885348935daad8
parent d514ad042fc23e74961ce411fdb66962faa54cfc
Author: Colin Leroy <colin@colino.net>
Date: Sun, 7 Sep 2008 09:05:14 +0000
2008-09-07 [colin] 3.5.0cvs92
* src/textview.c
Fix bug 1712, 'invalid "Phishing attempt warning"
when linked text ends with spaces'
Diffstat:
4 files changed, 10 insertions(+), 1 deletion(-)
diff --git 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
@@ -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
@@ -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
@@ -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;