diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-10-28 19:43:42 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-10-28 19:43:42 +0200 |
commit | 56dc5221f587d33414bac531a09fa84e4169e9f8 (patch) | |
tree | 44b1d2abcfa1dc78b12a7c88f23ef88df3f843e7 /src/util | |
parent | c8be75f5e660469d16806ca8bfc1e6a861aef7c1 (diff) | |
download | exchange-56dc5221f587d33414bac531a09fa84e4169e9f8.tar.xz |
-allow escape
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/payto.c | 2 |
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])) { |