[wp-trac] [WordPress Trac] #50855: sanitize_file_name function not working as expected if there is '%20' in filename

WordPress Trac noreply at wordpress.org
Mon Apr 26 19:23:32 UTC 2021


#50855: sanitize_file_name function not working as expected if there is '%20' in
filename
-------------------------------------+------------------------------
 Reporter:  dishitpala               |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Formatting               |     Version:  5.4.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+------------------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 It would be better to keep this line after the `sanitize_file_name_chars`
 hook.

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


More information about the wp-trac mailing list