WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#23777 closed defect (bug) (duplicate)

Media upload broken image with % in filename

Reported by: christopherross Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:

Description

When I upload an image from the MacOS to WordPress media uploader, the image results in a broken image preview if there's a % symbol in the file name.

Attachments (1)

error example.jpg (10.7 KB) - added by christopherross 2 years ago.
% in filename

Download all attachments as: .zip

Change History (5)

@christopherross2 years ago

% in filename

comment:1 follow-up: @bi0xid2 years ago

  • Cc raven@… added

Same is happening if you use an accent (á for example). Sanitizing the name when uploading can be an option.

comment:2 @SergeyBiryukov2 years ago

  • Component changed from General to Media
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

comment:3 in reply to: ↑ 1 @SergeyBiryukov2 years ago

Replying to bi0xid:

Same is happening if you use an accent (á for example). Sanitizing the name when uploading can be an option.

See #22363.

comment:4 @alexvorn22 years ago

Does this work on Linux'?

Note: See TracTickets for help on using tickets.