[wp-trac] [WordPress Trac] #61488: 6.5.5 Makes Theme Files Inaccessible

WordPress Trac noreply at wordpress.org
Tue Jun 25 14:18:07 UTC 2024


#61488: 6.5.5 Makes Theme Files Inaccessible
---------------------------------------------+---------------------
 Reporter:  script2see                       |       Owner:  jorbin
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.6
Component:  Filesystem API                   |     Version:  6.5.5
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------
Changes (by jorbin):

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


Comment:

 In [changeset:"58570" 58570]:
 {{{
 #!CommitTicketReference repository="" revision="58570"
 Filesystem: Normalize allowed_files so comparison is apples to apples.

 In [58470] a change was made to normalize the filename in validate_file,
 however this leads to instances where the list of files that are allowed
 aren't normalized such as in the theme editor. By normalizing the array,
 the comparison is apples to apples.

 Fixes #61488.
 Props jorbin, hellofromtonya, swissspidy, misulicus, script2see,
 Presskopp, audrasjb, peterwilsoncc, siliconforks, littler.chicken,
 paulkevan,
 }}}

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


More information about the wp-trac mailing list