[evolution-data-server/gnome-3-28] Bug 795108 - Trailing bracket not stripped when linkifying URL inside angle brackets



commit 0e8f3646a182da1f9157c0426b1fa6f966ef4fcd
Author: Milan Crha <mcrha redhat com>
Date:   Tue Apr 10 16:05:17 2018 +0200

    Bug 795108 - Trailing bracket not stripped when linkifying URL inside angle brackets

 src/camel/camel-url-scanner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-url-scanner.c b/src/camel/camel-url-scanner.c
index e1bb62c..ed42033 100644
--- a/src/camel/camel-url-scanner.c
+++ b/src/camel/camel-url-scanner.c
@@ -235,7 +235,7 @@ camel_url_pattern_end (const gchar *in,
                                 * punctuation, so strip any trailing
                                 * punctuation off. Also strip off any closing
                                 * double-quotes. */
-                               while (inptr > pos && strchr (",.:;?!-|}])\"", inptr[-1]))
+                               while (inptr > pos && strchr (",.:;?!-|}])\">", inptr[-1]))
                                        inptr--;
                        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]