commit d75b154c7ddfb150b24f7b3ad963da797ddd2798
parent 56fd568628dae06191ccb2133a2ff6b8c092be41
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 11 Dec 2024 02:13:48 +0100
fix #9378
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
@@ -1615,7 +1615,9 @@ url_handler (void *cls,
if (MHD_NO ==
MHD_add_response_header (response,
MHD_HTTP_HEADER_LOCATION,
- rslash))
+ NULL == rslash
+ ? "/"
+ : rslash))
{
GNUNET_break (0);
MHD_destroy_response (response);