updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / mindtouch / curl_followlocation.patch
blob65b66a6352115b4a95932f31c5e47e6c8b92d0b2
1 --- a/web/includes/dream.php 2011-11-28 15:24:12.027403373 +0000
2 +++ b/web/includes/dream.php 2011-11-28 15:24:22.430866699 +0000
3 @@ -260,7 +260,7 @@
4 curl_setopt($curl, CURLOPT_URL, $uri);
5 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
6 curl_setopt($curl, CURLOPT_TIMEOUT, $this->timeout);
7 - curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
8 + //curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
9 curl_setopt($curl, CURLOPT_MAXREDIRS, 10);
10 curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $verb);
11 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
12 --- a/web/deki/core/http_plug.php 2011-12-01 13:00:31.997512174 +0000
13 +++ b/web/deki/core/http_plug.php 2011-12-01 13:01:48.081802116 +0000
14 @@ -484,7 +484,7 @@
15 //curl_setopt($curl, CURLOPT_PROXY, 'X.X.X.X:8888');
17 curl_setopt($curl, CURLOPT_TIMEOUT, $this->timeout);
18 - curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
19 + //curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
20 curl_setopt($curl, CURLOPT_MAXREDIRS, 10);
21 curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $verb);
22 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);