commit c556ff93f99831391382fc3c6687cfccbb0cb1a5
parent 9e28cb56dd18510bec73f35141e2697a64e57ef0
Author: wwp <subscript@free.fr>
Date: Tue, 17 Oct 2023 12:22:29 +0200
URIs may contain the '$' dollar sign (fix broken syntax).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/utils.c b/src/common/utils.c
@@ -3535,7 +3535,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));