Skip to content

Commit

Permalink
Accept a couple of redirections by default should be safe enough -rel…
Browse files Browse the repository at this point in the history
…ated to #1882

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Dec 2, 2014
1 parent 98df51b commit 4153366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/subs/Package.subs.php
Original file line number Diff line number Diff line change
Expand Up @@ -3176,10 +3176,10 @@ function package_create_backup($id = 'backup')
* @param string $url
* @param string $post_data = ''
* @param bool $keep_alive = false
* @param int $redirection_level = 0
* @param int $redirection_level = 2
* @return string
*/
function fetch_web_data($url, $post_data = '', $keep_alive = false, $redirection_level = 0)
function fetch_web_data($url, $post_data = '', $keep_alive = false, $redirection_level = 2)
{
global $webmaster_email;
static $keep_alive_dom = null, $keep_alive_fp = null;
Expand Down

0 comments on commit 4153366

Please sign in to comment.