Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Remove follow redirects.
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaprajescu committed Aug 17, 2012
1 parent 738a74f commit 505ea4f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libraries/joomla/http/transport/curl.php
Expand Up @@ -135,9 +135,6 @@ public function request($method, JUri $uri, $data = null, array $headers = null,
// Link: http://the-stickman.com/web-development/php-and-curl-disabling-100-continue-header/
$options[CURLOPT_HTTPHEADER][] = 'Expect:';

// Follow redirects.
$options[CURLOPT_FOLLOWLOCATION] = true;

// Set the cURL options.
curl_setopt_array($ch, $options);

Expand Down

0 comments on commit 505ea4f

Please sign in to comment.