WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#50231 new defect (bug)

Add missing characters in `$special_chars` array in `sanitize_file_name()` function

Reported by: audrasjb Owned by:
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: Cc:

Description

That would be nice to add curly quote and few quotation mark types from $special_chars array in sanitize_file_name() function.

Use case: in French Mac OS systems, the default filename for screenshot is Capture d’écran 2020-05-23 à 13.59.38.png.

Related: #22363

Attachments (1)

50231.diff (837 bytes) - added by audrasjb 7 weeks ago.
Media: add missing punctuation characters in $special_char array in sanitize_file_name function

Download all attachments as: .zip

Change History (3)

@audrasjb
7 weeks ago

Media: add missing punctuation characters in $special_char array in sanitize_file_name function

#1 @audrasjb
7 weeks ago

  • Keywords has-patch added; needs-patch removed

#2 @audrasjb
7 weeks ago

  • Milestone changed from Awaiting Review to 5.5

Moving to milestone 5.5 so hopefully it could be addressed alongside #22363 🤞

Note: See TracTickets for help on using tickets.