Index: trunk/phase3/includes/upload/UploadFromUrl.php |
— | — | @@ -148,7 +148,9 @@ |
149 | 149 | $this->mRemoveTempFile = true; |
150 | 150 | $this->mFileSize = 0; |
151 | 151 | |
152 | | - $req = MWHttpRequest::factory( $this->mUrl ); |
| 152 | + $req = MWHttpRequest::factory( $this->mUrl, array( |
| 153 | + 'followRedirects' => true |
| 154 | + ) ); |
153 | 155 | $req->setCallback( array( $this, 'saveTempFileChunk' ) ); |
154 | 156 | $status = $req->execute(); |
155 | 157 | |