﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
22913	"Files ""corrupted"" when streamed to file via HTTP API"	samthorne		"The plugin updater reports plugins that are in need of an update and will initiate the automatic update of plugins from behind our proxy server (in other words, the connection through the proxy server is working for most of Wordpress).

During auto update however it fails with 

{{{
An error occurred while updating Postie: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature.
}}}

debug.log in wp-content contains
{{{
[13-Dec-2012 11:41:18 UTC] PHP Notice:  has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /Users/sam/Dropbox/Work/wordpress/wp-includes/functions.php on line 2908
}}}


If I then perform the same update on a different network connection (which does not need to pass through the proxy server) the update installs correctly with no problems.
In this instance I have tested with Postie, but the same applies to other plugins.

Proxy supports HTTP(S), but not FTP.

Server is running Mac OS X 10.7.5, Apache 2.2.22, PHP 5.3.15"	defect (bug)	closed	normal	3.6	HTTP	3.2	normal	fixed	needs-codex	jondaley
