aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2018-11-20 12:57:08 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2018-11-20 12:57:08 +0100
commita0d77ca83403ff8ae8c4c81395b95faebecbdd4a (patch)
tree0296b6c81c92d18ec255fb3a59c9242bbdc1092d /src/gns
parentfe8c5185efc9669997205566d6e55dfdb3284c88 (diff)
downloadgnunet-a0d77ca83403ff8ae8c4c81395b95faebecbdd4a.tar.gz
gnunet-a0d77ca83403ff8ae8c4c81395b95faebecbdd4a.zip
fix cords through proxy
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-gns-proxy.c6
1 files 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,
1229 /* Ignore transfer encoding, set automatically by MHD if required */ 1229 /* Ignore transfer encoding, set automatically by MHD if required */
1230 goto cleanup; 1230 goto cleanup;
1231 } 1231 }
1232 if (0 == strcasecmp (MHD_HTTP_HEADER_LOCATION, 1232 if ((0 == strcasecmp (MHD_HTTP_HEADER_LOCATION,
1233 hdr_type)) 1233 hdr_type)) ||
1234 (0 == strcasecmp (MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN,
1235 hdr_type)))
1234 { 1236 {
1235 char *leho_host; 1237 char *leho_host;
1236 1238