WordPress.org

Make WordPress Core

Opened 8 weeks ago

#41952 new defect (bug)

WP import: Bug with import gziped file from web

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

Description

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 8 weeks ago.
Patch to fix bug

Download all attachments as: .zip

Change History (1)

@arybnikov
8 weeks ago

Patch to fix bug

Note: See TracTickets for help on using tickets.