Make WordPress Core

Opened 13 years ago

Closed 9 years ago

Last modified 9 years ago

#19447 closed defect (bug) (duplicate)

Image uploads fails with % symbol in filename

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

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 10 years ago.
Fixes Filename with %
20%Internet-Uses-Wordpress.png (471.2 KB) - added by UmeshSingla 10 years ago.
Sample image with filename to replicate the issue

Download all attachments as: .zip

Change History (7)

#1 @peterhol
13 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
Version 0, edited 13 years ago by peterhol (next)

#2 @helenyhou
13 years ago

  • Milestone Awaiting Review deleted

@UmeshSingla
10 years ago

Fixes Filename with %

#3 @UmeshSingla
10 years ago

  • Focuses accessibility added
  • Keywords has-patch added
  • Resolution duplicate deleted
  • Status changed from closed to reopened

#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
10 years ago

Sample image with filename to replicate the issue

#4 @SergeyBiryukov
10 years ago

  • Focuses accessibility removed
  • Milestone set to Awaiting Review

#5 @ocean90
9 years ago

  • Keywords has-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from reopened to closed

Duplicate of #16226.

Note: See TracTickets for help on using tickets.