[wp-trac] Re: [WordPress Trac] #10104: PCLZIP_ERR_BAD_FORMAT (-10)
after changeset 11524
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 12 12:08:07 GMT 2009
#10104: PCLZIP_ERR_BAD_FORMAT (-10) after changeset 11524
-----------------------------+----------------------------------------------
Reporter: demetris | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8.1
Component: Upgrade/Install | Version: 2.8
Severity: major | Keywords: needs-patch reporter-feedback
-----------------------------+----------------------------------------------
Comment(by dd32):
> Might be 32/64-bit related issues, though.
Doubtful, they'd be seen consistently with more people.
> timeout will result in a zero length or partial file that will cause
the unzip to fail
The download shouldnt succeed in that case, The transports should probably
check the Content-Length vs. recieved data.
Alternativly, The API could return a CRC32 or md5 of the file.. that way
the client can compare and alert straight up that the file is corrupted.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10104#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list