diff options
author | Sebastian <sebasjm@gmail.com> | 2021-11-20 16:09:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-11-20 16:09:06 -0300 |
commit | 06765a1eff683e17184a1444bcb1323a09d229fd (patch) | |
tree | b66bfa25438f89975a7988decd41e24161dbd1cd | |
parent | 966df837026323e549e482c807ee1edcce9b3dd0 (diff) | |
download | merchant-06765a1eff683e17184a1444bcb1323a09d229fd.tar.gz merchant-06765a1eff683e17184a1444bcb1323a09d229fd.tar.bz2 merchant-06765a1eff683e17184a1444bcb1323a09d229fd.zip |
remove wrong assert X-Forwarded-Prefix is found. Patch by MS
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders.c | 9 |
1 files 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 index 17131d3b..41b211eb 100644 --- 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) */ |