Make WordPress Core

Opened 9 years ago

#41952 new defect (bug)

WP import: Bug with import gziped file from web

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

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 9 years ago.
Patch to fix bug

Download all attachments as: .zip

Change History (1)

@arybnikov
9 years ago

Patch to fix bug

Note: See TracTickets for help on using tickets.