diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-14 12:12:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-14 12:12:49 +0200 |
commit | ef2059c9df9a7ceae653653297af577de329f694 (patch) | |
tree | abae0cf04d82157c53b923732f316aac41db1d12 | |
parent | 4e5a9906c2d206b32872cf934e26f3d56e2c5aaa (diff) | |
download | exchange-ef2059c9df9a7ceae653653297af577de329f694.tar.xz |
allow '#'
m--------- | contrib/gana | 0 | ||||
-rw-r--r-- | src/testing/test_exchange_api.conf | 4 | ||||
-rw-r--r-- | src/util/url.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gana b/contrib/gana -Subproject e50e37672fae7983fb5e934cd1d381b92648f7b +Subproject 5f377301db4d94c485422ecda277fe850e29504 diff --git a/src/testing/test_exchange_api.conf b/src/testing/test_exchange_api.conf index e9d8cf6f9..bf73d00aa 100644 --- a/src/testing/test_exchange_api.conf +++ b/src/testing/test_exchange_api.conf @@ -34,8 +34,8 @@ LOGIC = oauth2 USER_TYPE = INDIVIDUAL PROVIDED_CHECKS = DUMMY KYC_OAUTH2_VALIDITY = forever -KYC_OAUTH2_AUTH_URL = http://localhost:6666/oauth/v2/token -KYC_OAUTH2_LOGIN_URL = http://localhost:6666/oauth/v2/login +KYC_OAUTH2_TOKEN_URL = http://localhost:6666/oauth/v2/token +KYC_OAUTH2_AUTHORIZE_URL = http://localhost:6666/oauth/v2/login KYC_OAUTH2_INFO_URL = http://localhost:6666/api/user/me KYC_OAUTH2_CLIENT_ID = taler-exchange KYC_OAUTH2_CLIENT_SECRET = exchange-secret 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; |