[wp-trac] [WordPress Trac] #43138: Delete intermediate image-sizes with non-ASCII file-names

WordPress Trac noreply at wordpress.org
Sun Jan 21 15:44:36 UTC 2018


#43138: Delete intermediate image-sizes with non-ASCII file-names
--------------------------+-----------------------------
 Reporter:  idofri        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Deleting attachments intermediate image-sizes often fails in some cases
 where file-names are constructed with multibyte character path names.

 The bug is caused when using the basename() function without setting UTF-8
 locales first. It has been documented in:
 [https://bugs.php.net/bug.php?id=62119]

 '''This patch fixes only A single instance of the described issue and
 should be examined more widely.'''

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43138>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list