Last modified: 2006-05-27 01:26:07 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 6102 - HTML decimal entities should not be escaped on URLs
HTML decimal entities should not be escaped on URLs
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
http://en.wikipedia.org/wiki/User:Ces...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-26 22:23 UTC by Cesar Eduardo Barros
Modified: 2006-05-27 01:26 UTC (History)
1 user (show)

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


Attachments

Description Cesar Eduardo Barros 2006-05-26 22:23:35 UTC
When a decimal entity (for instance =) is found within a URL, it should be
passed as is to the browser (or perhaps unescaped where possible, as happens
with the rest of the text), instead of being escaped.

For instance:

http://en.wikipedia.org/wiki/Special:Preferences?useskin=monobook

Actual result:

<a
href="http://en.wikipedia.org/wiki/Special:Preferences?useskin&amp;#61;monobook"
class='external free'
title="http://en.wikipedia.org/wiki/Special:Preferences?useskin&amp;#61;monobook"
rel="nofollow">http://en.wikipedia.org/wiki/Special:Preferences?useskin&amp;#61;monobook</a>

Expected result:

either:
<a href="http://en.wikipedia.org/wiki/Special:Preferences?useskin&#61;monobook"
class='external free'
title="http://en.wikipedia.org/wiki/Special:Preferences?useskin&#61;monobook"
rel="nofollow">http://en.wikipedia.org/wiki/Special:Preferences?useskin&#61;monobook</a>

or:
<a href="http://en.wikipedia.org/wiki/Special:Preferences?useskin=monobook"
class='external free'
title="http://en.wikipedia.org/wiki/Special:Preferences?useskin=monobook"
rel="nofollow">http://en.wikipedia.org/wiki/Special:Preferences?useskin=monobook</a>

This was found when trying to fix the link on the FAQ on the header of
[[Wikipedia:Village pump (technical)]] (the previous trick, using nowiki, seems
to have stopped working, and the 2= trick also isn't working).
Comment 1 Cesar Eduardo Barros 2006-05-26 22:26:28 UTC
Live testcase: [[User:CesarB/Testcases/6102]]
Comment 3 Brion Vibber 2006-05-27 01:23:01 UTC
Note that this extends the special-case in bug 1288 to cover all standard 
HTML character entities.
Comment 4 Brion Vibber 2006-05-27 01:26:07 UTC
Rather, bug 1228. Bah.

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


Navigation
Links