[wp-trac] [WordPress Trac] #54818: JPEG file names are no longer sanitized
WordPress Trac
noreply at wordpress.org
Fri Jan 14 11:58:15 UTC 2022
#54818: JPEG file names are no longer sanitized
--------------------------+-----------------------------
Reporter: Chaton666 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Media | Version: 5.8.3
Severity: major | Resolution:
Keywords: | Focuses: administration
--------------------------+-----------------------------
Comment (by Chaton666):
Well, it has nothing to do with JPEG file type.
With a file named "Exemple-2-activités-de-construction.png" (PNG), accent
is not removed.
I guess there is, in this filename, some pattern which is not processed in
by str_replace and preg_replace.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54818#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list