WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#11218 closed defect (bug) (fixed)

Set uploaded files extensions to lower case

Reported by: 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 5 years ago.
Convert extensions to lower case when possible

Download all attachments as: .zip

Change History (3)

@azaozz5 years ago

Convert extensions to lower case when possible

comment:1 @scribu5 years ago

  • Keywords has-patch added

Good ideea.

comment:2 @azaozz5 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.