[wp-trac] [WordPress Trac] #16057: download_url() error checking fails to notice that the file wasnt correctly witten to disk

WordPress Trac noreply at wordpress.org
Wed Sep 11 08:12:25 UTC 2013


#16057: download_url() error checking fails to notice that the file wasnt correctly
witten to disk
-------------------------------------------------+-------------------------
 Reporter:  dd32                                 |       Owner:  dd32
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  3.7
Component:  HTTP                                 |     Version:  3.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  3.3-early has-patch needs-testing    |
  commit                                         |
-------------------------------------------------+-------------------------

Comment (by dd32):

 In [changeset:"25348"]:
 {{{
 #!CommitTicketReference repository="" revision="25348"
 Switch WP_HTTP over to using the mbstring.func_overload helper functions.
 This change moves the check from within the Streaming-handling function to
 wrap the individual request, this fixes it for both cURL and Streams and
 any future changes to the transports which use strlen() on binary data.
 See #25259 See #16057
 }}}

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


More information about the wp-trac mailing list