Last modified: 2008-02-14 01:54:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11504 - External links with & in them break in an imagemap
External links with & in them break in an imagemap
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-09-29 23:39 UTC by Prodego
Modified: 2008-02-14 01:54 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Prodego 2007-09-29 23:39:01 UTC
Using imagemap to link to an external URL with '&' in it will break, the & is converted to &. (that is &amp ; in case it renders it) So a link to www.&.com will go to www.&.com (again &amp ;).
Comment 1 Brion Vibber 2007-10-01 13:20:46 UTC
www.&.com is not a valid domain.
Comment 2 Prodego 2007-10-01 19:49:07 UTC
However, something like "" is valid, and also contains an & symbol. I just used the invalid www.&.com to demonstrate how the & is treated.
Comment 3 Brion Vibber 2007-10-02 14:54:55 UTC
Providing a real example would have helped. :)

Here's a sample ....

Image:Foo.jpg|200px|picture of a foo
poly 131 45 213 41 210 110 127 109 []

I can confirm that the resulting link is double-HTML-escaped, leading incorrectly to;action=history

Have put the example live at

Note You need to log in before you can comment on or make changes to this bug.