2008-09-07 [colin] 3.5.0cvs92
authorColin Leroy <colin@colino.net>
Sun, 7 Sep 2008 09:05:14 +0000 (09:05 +0000)
committerColin Leroy <colin@colino.net>
Sun, 7 Sep 2008 09:05:14 +0000 (09:05 +0000)
* src/textview.c
Fix bug 1712, 'invalid "Phishing attempt warning"
when linked text ends with spaces'

ChangeLog
PATCHSETS
configure.ac
src/textview.c

index 94f6b36bb5a4f21de13e07f4a5a81c1698685584..807dad429b5ddee749d98aa512bcd7d37e892a60 100644 (file)
--- 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
index 90f11dd30073a97e61323fae95417a507eb51a77..55bca45d1c32f34292677ab44554621c874042bc 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index 6a463410f99211d3a25f42cb8ede9e270127afef..5dad853478acb6f4c7dbf1aec891afec3338fc27 100644 (file)
@@ -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=
 
index 39923fb0fd0aef6fafbd7c2cd541992ef08d34a5..7c0ea89f6c35dd33818b5ef05d9019b3021b1913 100644 (file)
@@ -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;