Make WordPress Core

Opened 7 years ago

#41952 new defect (bug)

WP import: Bug with import gziped file from web

Reported by: arybnikov's profile arybnikov Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8.2
Component: Import Keywords:
Focuses: administration Cc:


When i import svg image with gzip compression, then i give error "Remote file is incorrect size"

In wordpress-importer.php:1007 your check file size.
If file is gziped, when filesize on disc != content-length in headers

Attachments (1)

patch.diff (902 bytes) - added by arybnikov 7 years ago.
Patch to fix bug

Download all attachments as: .zip

Change History (1)

7 years ago

Patch to fix bug

Note: See TracTickets for help on using tickets.