summaryrefslogtreecommitdiff
path: root/src/util/payto.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-10-28 19:43:42 +0200
committerChristian Grothoff <christian@grothoff.org>2023-10-28 19:43:42 +0200
commit56dc5221f587d33414bac531a09fa84e4169e9f8 (patch)
tree44b1d2abcfa1dc78b12a7c88f23ef88df3f843e7 /src/util/payto.c
parentc8be75f5e660469d16806ca8bfc1e6a861aef7c1 (diff)
downloadexchange-56dc5221f587d33414bac531a09fa84e4169e9f8.tar.gz
exchange-56dc5221f587d33414bac531a09fa84e4169e9f8.tar.bz2
exchange-56dc5221f587d33414bac531a09fa84e4169e9f8.zip
-allow escape
Diffstat (limited to 'src/util/payto.c')
-rw-r--r--src/util/payto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/payto.c b/src/util/payto.c
index 9b0e83e85..6b22a0092 100644
--- 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]))
{