summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-11-12 10:39:38 +0100
committerChristian Grothoff <christian@grothoff.org>2023-11-12 10:39:38 +0100
commitcaf84957b92b32aa81b7d8687a7bed9fd9c42bc4 (patch)
tree313a5f8806d8031390bfd9602b0e82934e62069e /src/exchange/taler-exchange-httpd.c
parent5f616ec6884aa8ba132d4c997f9d6cf76a98c38b (diff)
downloadexchange-caf84957b92b32aa81b7d8687a7bed9fd9c42bc4.tar.gz
exchange-caf84957b92b32aa81b7d8687a7bed9fd9c42bc4.tar.bz2
exchange-caf84957b92b32aa81b7d8687a7bed9fd9c42bc4.zip
-use sane bound
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r--src/exchange/taler-exchange-httpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 34dda85b7..1118f7f99 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -1728,14 +1728,14 @@ handle_mhd_request (void *cls,
.url = "kyc-webhook",
.method = MHD_HTTP_METHOD_GET,
.handler.get = &TEH_handler_kyc_webhook_get,
- .nargs = UINT_MAX,
+ .nargs = 16, /* more is not plausible */
.nargs_is_upper_bound = true
},
{
.url = "kyc-webhook",
.method = MHD_HTTP_METHOD_POST,
.handler.post = &TEH_handler_kyc_webhook_post,
- .nargs = UINT_MAX,
+ .nargs = 16, /* more is not plausible */
.nargs_is_upper_bound = true
},
/* POST management endpoints */