You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
857 B
27 lines
857 B
From 0e8f3646a182da1f9157c0426b1fa6f966ef4fcd Mon Sep 17 00:00:00 2001
|
|
From: Milan Crha <mcrha@redhat.com>
|
|
Date: Tue, 10 Apr 2018 16:05:17 +0200
|
|
Subject: Bug 795108 - Trailing bracket not stripped when linkifying URL inside
|
|
angle brackets
|
|
|
|
---
|
|
src/camel/camel-url-scanner.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
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--;
|
|
}
|
|
|
|
--
|
|
cgit v0.12
|
|
|