Page MenuHomePhabricator

Moving a jpg file to .jpe should be forbidden
Open, LowPublicFeature

Description

Steps to rep.:

  • Upload JPEG
  • Move to _JPE_

Expected Result:
Error

Actual Result:
https://commons.wikimedia.org/w/index.php?title=File:CUceY8jXkqFg9JfwDUEB2eJq.jpe&action=history


Version: 1.24rc
Severity: enhancement

Details

Reference
bz65437

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:19 AM
bzimport set Reference to bz65437.
bzimport added a subscriber: Unknown Object (MLST).

More specificly we should probably limit file moves to names with extensions on the whitelist. .jpe is actually a valid jpeg extension its just not on our whitelist.

svenmanguard wrote:

Alright, so there are two options here:

  1. The .jpe extension is problematic, in which case we need to prevent it from being used.
  1. The .jpe extension is not problematic, in which case it needs to be added to the whitelist, and documentation needs to be updated.

If it's the first one, there's some cleanup that needs doing (see https://commons.wikimedia.org/wiki/User:Dispenser/Wrong_Extension). I'm happy to do the cleanup, but I need to get a firm answer about the status of .jpe first.

Either way, it would become moot if https://bugzilla.wikimedia.org/show_bug.cgi?id=32660 (or https://bugzilla.wikimedia.org/show_bug.cgi?id=40479) were actioned.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM