[wp-trac] [WordPress Trac] #55807: sanitize_file_name not sanitizing decomposed unicode when file is uploaded using Chrome and Firefox

WordPress Trac noreply at wordpress.org
Wed Jun 15 11:09:21 UTC 2022


#55807: sanitize_file_name not sanitizing decomposed unicode when file is uploaded
using Chrome and Firefox
----------------------------+------------------------------
 Reporter:  christerolsson  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Upload          |     Version:  5.9.3
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by ugyensupport):

 I could as replicate the same result as mentioned by @poena
 Environment:
 OS: macOS 12.4
 Web Server: Nginx
 PHP: 8
 WordPress: 6.0 and 5.9.3
 Safari Browser Version 15.5 (17613.2.7.1.8) -åäö are removed:
 [https://ibb.co/hdZFGjk]
 Other Browsers  -åäö are not removed - [https://ibb.co/QkGy4FG]

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


More information about the wp-trac mailing list