WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 4 years ago.
% in filename

Download all attachments as: .zip

Change History (5)

@christopherross
4 years ago

% in filename

#1 follow-up: @bi0xid
4 years ago

  • Cc raven@… added

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

#2 @SergeyBiryukov
4 years ago

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

#3 in reply to: ↑ 1 @SergeyBiryukov
4 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.

#4 @alexvorn2
4 years ago

Does this work on Linux'?

Note: See TracTickets for help on using tickets.