WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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 4 years ago.
Convert extensions to lower case when possible

Download all attachments as: .zip

Change History (3)

azaozz4 years ago

Convert extensions to lower case when possible

comment:1 scribu4 years ago

  • Keywords has-patch added

Good ideea.

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