aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-14 12:12:49 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-14 12:12:49 +0200
commitef2059c9df9a7ceae653653297af577de329f694 (patch)
treeabae0cf04d82157c53b923732f316aac41db1d12 /src/util
parent4e5a9906c2d206b32872cf934e26f3d56e2c5aaa (diff)
downloadexchange-ef2059c9df9a7ceae653653297af577de329f694.tar.xz
allow '#'
Diffstat (limited to 'src/util')
-rw-r--r--src/util/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/url.c b/src/util/url.c
index a140a3a2e..1ac197551 100644
--- a/src/util/url.c
+++ b/src/util/url.c
@@ -322,7 +322,7 @@ TALER_url_valid_charset (const char *url)
for (unsigned int i = 0; '\0' != url[i]; i++)
{
#define ALLOWED_CHARACTERS \
- "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/:;&?-.,=_~%+"
+ "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/:;&?-.,=_~%+#"
if (NULL == strchr (ALLOWED_CHARACTERS,
(int) url[i]))
return false;