[wp-trac] [WordPress Trac] #39875: PDF previews overwrite existing images with the same name.

WordPress Trac noreply at wordpress.org
Thu Feb 23 23:45:43 UTC 2017


#39875: PDF previews overwrite existing images with the same name.
-------------------------------------+--------------------
 Reporter:  gitlost                  |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.7.3
Component:  Media                    |     Version:  4.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------

Comment (by gitlost):

 Re patch note that `PATHINFO_FILENAME` is not UTF-8 safe (same problem as
 `basename()` and `PATHINFO_BASENAME`).

 I still see no reason for using a random string.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39875#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list