Index: trunk/phase3/includes/Import.php |
— | — | @@ -1518,7 +1518,7 @@ |
1519 | 1519 | # quicker and sorts out user-agent problems which might |
1520 | 1520 | # otherwise prevent importing from large sites, such |
1521 | 1521 | # as the Wikimedia cluster, etc. |
1522 | | - $data = Http::request( $method, $url ); |
| 1522 | + $data = Http::request( $method, $url, array( 'followRedirects' => true ) ); |
1523 | 1523 | if( $data !== false ) { |
1524 | 1524 | $file = tmpfile(); |
1525 | 1525 | fwrite( $file, $data ); |