commit 56dc5221f587d33414bac531a09fa84e4169e9f8
parent c8be75f5e660469d16806ca8bfc1e6a861aef7c1
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 28 Oct 2023 19:43:42 +0200
-allow escape
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/payto.c b/src/util/payto.c
@@ -205,7 +205,7 @@ TALER_payto_validate (const char *payto_uri)
/* This is more strict than RFC 8905, alas we do not need to support messages/instructions/etc.,
and it is generally better to start with a narrow whitelist; we can be more permissive later ...*/
#define ALLOWED_CHARACTERS \
- "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/:&?-.,=+"
+ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/:&?-.,=+%"
if (NULL == strchr (ALLOWED_CHARACTERS,
(int) payto_uri[i]))
{