commit 06765a1eff683e17184a1444bcb1323a09d229fd
parent 966df837026323e549e482c807ee1edcce9b3dd0
Author: Sebastian <sebasjm@gmail.com>
Date: Sat, 20 Nov 2021 16:09:06 -0300
remove wrong assert X-Forwarded-Prefix is found. Patch by MS
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -144,11 +144,8 @@ make_merchant_base_url (struct MHD_Connection *connection,
MHD_HEADER_KIND,
"X-Forwarded-Prefix");
if (NULL != uri_path)
- {
- /* Currently the merchant backend is only supported at the root of the path,
- this might change in the future. */
- GNUNET_assert (0);
- }
+ GNUNET_buffer_write_path (&buf, uri_path);
+
if (0 != strcmp (instance_id,
"default"))
{
@@ -228,7 +225,7 @@ execute_transaction (struct TMH_HandlerContext *hc,
h_post_data,
pay_deadline,
claim_token,
- order);
+ order); // called 'contract terms' at database.
if (qs <= 0)
{
/* qs == 0: probably instance does not exist (anymore) */