[wp-trac] [WordPress Trac] #54190: sanitize_file_name disallows acute accents and left smart apostrophe
WordPress Trac
noreply at wordpress.org
Tue Oct 5 18:09:29 UTC 2021
#54190: sanitize_file_name disallows acute accents and left smart apostrophe
-------------------------------------------------+-------------------------
Reporter: jdorner | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Media | Version: 5.5
Severity: normal | Resolution:
Keywords: dev-feedback reporter-feedback | Focuses:
needs-testing-info |
-------------------------------------------------+-------------------------
Description changed by sabernhardt:
Old description:
> The following change to line 1991 of wp-includes/formatting.php will
> disallow acute accents and left smart apostrophe in file names
> $special_chars = array( '?', '[', ']', '/', '\\', '=', '<', '>', ':',
> ';', ',', "'", '"', '&', '$', '#', '*', '(', ')', '|', '~', '`', '´',
> '!', '{', '}', '%', '+', 'ʻ','’', '«', '»', '”', '“', chr( 0 ) );
New description:
The following change to line 1991 of wp-includes/formatting.php will
disallow acute accents and left smart apostrophe in file names
{{{
$special_chars = array( '?', '[', ']', '/', '\\', '=', '<', '>', ':', ';',
',', "'", '"', '&', '$', '#', '*', '(', ')', '|', '~', '`', '´', '!', '{',
'}', '%', '+', 'ʻ','’', '«', '»', '”', '“', chr( 0 ) );
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54190#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list