gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix: /wire was replying double '


From: gnunet
Subject: [taler-exchange] branch master updated: fix: /wire was replying double 'Access-Control-Allow-Origin' header and browsers complain
Date: Thu, 30 Jun 2022 14:18:16 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 636691e1 fix: /wire was replying double 'Access-Control-Allow-Origin' 
header and browsers complain
636691e1 is described below

commit 636691e1092c00174b2809da1c91d952febc72cf
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Jun 30 09:13:45 2022 -0300

    fix: /wire was replying double 'Access-Control-Allow-Origin' header and 
browsers complain
---
 src/exchange/taler-exchange-httpd_wire.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_wire.c 
b/src/exchange/taler-exchange-httpd_wire.c
index ce8293c9..fbc3d5e6 100644
--- a/src/exchange/taler-exchange-httpd_wire.c
+++ b/src/exchange/taler-exchange-httpd_wire.c
@@ -400,8 +400,8 @@ build_wire_state (void)
         wsh->http_status = MHD_HTTP_INTERNAL_SERVER_ERROR;
         wsh->wire_reply
           = TALER_MHD_make_error (
-              TALER_EC_EXCHANGE_WIRE_INVALID_PAYTO_CONFIGURED,
-              payto_uri);
+          TALER_EC_EXCHANGE_WIRE_INVALID_PAYTO_CONFIGURED,
+          payto_uri);
         json_decref (wire_accounts_array);
         json_decref (wire_fee_object);
         GNUNET_CRYPTO_hash_context_abort (hc);
@@ -482,7 +482,6 @@ build_wire_state (void)
                                            MHD_HTTP_HEADER_EXPIRES,
                                            wsh->dat));
   }
-  TALER_MHD_add_global_headers (wsh->wire_reply);
   /* Set cache control headers: our response varies depending on these headers 
*/
   GNUNET_break (MHD_YES ==
                 MHD_add_response_header (wsh->wire_reply,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]