From d11a4ffa070a373d449329931e091c27921074ab Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 12 Dec 2017 12:32:54 +0200 Subject: [PATCH] [Fix] Deal with URLs wrapped in [] in text parts --- src/libserver/url.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libserver/url.c b/src/libserver/url.c index 0d8acc32b..83ffd36d9 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -525,6 +525,7 @@ is_url_start (gchar c) { if (c == '(' || c == '{' || + c == '[' || c == '<' || c == '\'') { return TRUE; @@ -538,6 +539,7 @@ is_url_end (gchar c) { if (c == ')' || c == '}' || + c == ']' || c == '>' || c == '\'') { return TRUE; -- 2.39.5