Page MenuHomePhabricator

Upload via URL: More meaningful error messages when HTTP error encountered
Closed, ResolvedPublic

Description

If I try to upload an image from (say) http://example.com/test.png or http://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Japon-1886-32.jpg I get the following error message:

The file is corrupt or has an incorrect extension. Please check the file and upload again.

This error message should tell me what really went wrong: a HTTP error.


Version: 1.15.x
Severity: enhancement

Details

Reference
bz18243

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:36 PM
bzimport set Reference to bz18243.
bzimport added a subscriber: Unknown Object (MLST).

mdale wrote:

The new-upload branch does pass along a lot more http errors. But could be tested more and perhaps needs localized message wrapping.

Bryan.TongMinh wrote:

Fixed in r65043.