[wp-trac] [WordPress Trac] #20074: Attempt MD5 checksum verification in upgrader if available
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 19 17:01:16 UTC 2012
#20074: Attempt MD5 checksum verification in upgrader if available
------------------------------------+------------------
Reporter: sivel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.4
Component: Upgrade/Install | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------
Comment (by sivel):
[attachment:20074.2.diff] moves the download verification to
download_url()
[attachment:20074.3.diff] is the result of a little thinking on how we
could make download_url() flexible for developers to use it for download
and download verification, regardless of being able to use Content-MD5.
It adds a few additional arguments, to download_url() and allows the
developer to specify either a bool to use the Content-MD5 header, or a
string for either a md5 hash, or a URL to a MD5 file for verification.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20074#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list