exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit caf84957b92b32aa81b7d8687a7bed9fd9c42bc4
parent 5f616ec6884aa8ba132d4c997f9d6cf76a98c38b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 12 Nov 2023 10:39:38 +0100

-use sane bound

Diffstat:
Msrc/exchange/taler-exchange-httpd.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 */