Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11218 closed defect (bug) (fixed)

Set uploaded files extensions to lower case

Reported by: azaozz's profile azaozz Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.5
Component: Upload Keywords: has-patch
Focuses: Cc:

Description

2.8 allows upper case extensions on uploaded files and treats them as unique filenames. This breaks compatibility between different OS (UNIX/Mac/Windows) and in some cases leads to overwriting image sub-sizes.

Attachments (1)

11218.patch (1.4 KB) - added by azaozz 15 years ago.
Convert extensions to lower case when possible

Download all attachments as: .zip

Change History (3)

@azaozz
15 years ago

Convert extensions to lower case when possible

#1 @scribu
15 years ago

  • Keywords has-patch added

Good ideea.

#2 @azaozz
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12274]) Set uploaded files extensions to lower case, fixes #11218

Note: See TracTickets for help on using tickets.