[wp-trac] [WordPress Trac] #35755: wp_tempnam produces filenames longer than 255 characters

WordPress Trac noreply at wordpress.org
Mon Jul 10 20:31:50 UTC 2023


#35755: wp_tempnam produces filenames longer than 255 characters
-------------------------------------------------+-------------------------
 Reporter:  doems                                |       Owner:  azaozz
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  Filesystem API                       |     Version:  4.4
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback has-testing-info                      |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56186" 56186]:
 {{{
 #!CommitTicketReference repository="" revision="56186"
 Filesystem API: Ensure `wp_tempnam()` does not produce file names longer
 than 255 characters as this is the limit on most filesystems.

 Props: costdev, doems, mikeschroder, oglekler, mrinal013.
 Fixes: #35755.
 }}}

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


More information about the wp-trac mailing list