[wp-trac] [WordPress Trac] #20074: Attempt MD5 checksum verification in upgrader if available

WordPress Trac noreply at wordpress.org
Thu Sep 19 09:15:10 UTC 2013


#20074: Attempt MD5 checksum verification in upgrader if available
-----------------------------+------------------
 Reporter:  sivel            |       Owner:
     Type:  task (blessed)   |      Status:  new
 Priority:  normal           |   Milestone:  3.7
Component:  Upgrade/Install  |     Version:  2.8
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------

Comment (by dd32):

 > Attachment attachment:20074.5.diff​ added

 * Splits it into a separate function (`verify_file_md5()`)
 * Performs the check in download_url()
 * Handles a `md5()` or `base64_encode( md5_file( $file, true ) )` value in
 the header / passed value.

 Tested fine for me, WordPress.org still doesn't return the header, but
 will just work when it does.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/20074#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list