commit aac16cd06101417eeeae16088d240ae1f58f08c7
parent 65e2a270ce7173d76c8e94008ec803ab144f1923
Author: Sebastian <sebasjm@gmail.com>
Date: Wed, 19 Jun 2024 09:39:05 -0300
add support _ for x-taler-bank accounts
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/payto.c b/src/util/payto.c
@@ -342,7 +342,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]))
{