Make WordPress Core

Opened 15 years ago

Closed 11 years ago

Last modified 11 years ago

#19447 closed defect (bug) (duplicate)

Image uploads fails with % symbol in filename

Reported by: peterhol Owned by:
Priority: normal Milestone:
Component: Upload Version: 3.3
Severity: normal Keywords:
Cc: Focuses:

Description

When uploading images with percentage sign in the filename (%), the image is not shown in the media library, and the url doesn't work… (the url keeps the % sign, guess that's why it doesn't work)

Attachments (2)

28500.diff~ (803 bytes ) - added by UmeshSingla 12 years ago.
Fixes Filename with %
20%Internet-Uses-Wordpress.png (471.2 KB ) - added by UmeshSingla 12 years ago.
Sample image with filename to replicate the issue

Download all attachments as: .zip

Change History (7)

#1 @peterhol
15 years ago

  • Resolutionduplicate
  • Status newclosed

Sorry! didn't see this: #16226

Last edited 11 years ago by SergeyBiryukov (previous) (diff)

#2 @helenyhou
15 years ago

  • Milestone Awaiting Review

@UmeshSingla
12 years ago

Fixes Filename with %

#3 @UmeshSingla
12 years ago

  • Focuses accessibility added
  • Keywords has-patch added
  • Resolution duplicate
  • Status closedreopened

#16330 doesn't fixes the issue with % in filename.

If I upload a image containing % in its name, image is broken. The URL doesn't works.

I'v included % in special characters list to fix the uploads.

Attaching a sample image.

@UmeshSingla
12 years ago

Sample image with filename to replicate the issue

#4 @SergeyBiryukov
12 years ago

  • Focuses accessibility removed
  • MilestoneAwaiting Review

#5 @ocean90
11 years ago

  • Keywords has-patch removed
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status reopenedclosed

Duplicate of #16226.

Note: See TracTickets for help on using tickets.