commit dc79dfce6803ffc32b5c0a372790c73c774000e9
parent 74f063f12ab0f6a787be3aa0f3296e48d1f2e0a6
Author: Paul <paul@claws-mail.org>
Date: Tue, 10 Oct 2017 09:33:23 +0100
fix bug 3893, ' Text mode open/copy web links ignores trailing tilde(s)'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/utils.c b/src/common/utils.c
@@ -4121,7 +4121,7 @@ gboolean get_uri_part(const gchar *start, const gchar *scanpos,
* should pass some URI type to this function and decide on that whether
* to perform punctuation stripping */
-#define IS_REAL_PUNCT(ch) (g_ascii_ispunct(ch) && !strchr("/?=-_)", ch))
+#define IS_REAL_PUNCT(ch) (g_ascii_ispunct(ch) && !strchr("/?=-_~)", ch))
for (; ep_ - 1 > scanpos + 1 &&
IS_REAL_PUNCT(*(ep_ - 1));