diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2018-11-20 12:57:08 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2018-11-20 12:57:08 +0100 |
commit | a0d77ca83403ff8ae8c4c81395b95faebecbdd4a (patch) | |
tree | 0296b6c81c92d18ec255fb3a59c9242bbdc1092d /src/gns | |
parent | fe8c5185efc9669997205566d6e55dfdb3284c88 (diff) | |
download | gnunet-a0d77ca83403ff8ae8c4c81395b95faebecbdd4a.tar.gz gnunet-a0d77ca83403ff8ae8c4c81395b95faebecbdd4a.zip |
fix cords through proxy
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 6 |
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 | ||