Page MenuHomePhabricator

Image name can't have ampersand character
Closed, InvalidPublic

Description

Author: flaviojs2005

Description:
It's a real image, but imagemap errors with: (Image:M&BWFAS_Map.jpg)

  • Error: image is invalid or non-existent

Using %26 instead of & gives the error: (Image:M%26BWFAS_Map.jpg)

  • Error: must specify an image in the first line

Version: unspecified
Severity: normal

Details

Reference
bz35798

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:17 AM
bzimport added a project: ImageMap.
bzimport set Reference to bz35798.
bzimport added a subscriber: Unknown Object (MLST).

flaviojs2005 wrote:

Using & instead of & gives the error: (Image:M&BWFAS_Map.jpg)

  • Error: image is invalid or non-existent

https://commons.wikimedia.org/wiki/User:MarkAHershberger/Bug35798 only shows "must specify an image..." for uri escaping %26. The other two uses worked.

I don't think we should really allow URI escaped names.

Reopen if you can provide an example of this not working.

flaviojs2005 wrote:

It appears the real problem was using an image where the dimensions were too big? No idea why, but it started working once I scaled it down to 3284px. http://mountandblade.wikia.com/wiki/Template:World_Map/With_Fire_%26_Sword

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:12 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:22 AM