commit 9e28cb56dd18510bec73f35141e2697a64e57ef0 parent f0b5dc5b4505cd2be030a677986f8ac3fd28ffce Author: wwp <subscript@free.fr> Date: Tue, 17 Oct 2023 12:12:30 +0200 URIs may contain the '$' dollar sign. Diffstat:
| M | src/common/utils.c | | | 2 | +- |
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));