gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: fix cords through proxy


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix cords through proxy
Date: Tue, 20 Nov 2018 12:57:14 +0100

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new a0d77ca83 fix cords through proxy
a0d77ca83 is described below

commit a0d77ca83403ff8ae8c4c81395b95faebecbdd4a
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Tue Nov 20 12:57:08 2018 +0100

    fix cords through proxy
---
 src/gns/gnunet-gns-proxy.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index 9f664e4dd..a502e0b65 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -1229,8 +1229,10 @@ curl_check_hdr (void *buffer,
     /* Ignore transfer encoding, set automatically by MHD if required */
     goto cleanup;
   }
-  if (0 == strcasecmp (MHD_HTTP_HEADER_LOCATION,
-                      hdr_type))
+  if ((0 == strcasecmp (MHD_HTTP_HEADER_LOCATION,
+                      hdr_type)) ||
+      (0 == strcasecmp (MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN,
+       hdr_type)))
   {
     char *leho_host;
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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