Last modified: 2008-05-06 15:16:51 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 9031 - urlencode magic word double encodes entities
urlencode magic word double encodes entities
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-19 21:45 UTC by Michael Toews
Modified: 2008-05-06 15:16 UTC (History)
2 users (show)

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


Attachments

Description Michael Toews 2007-02-19 21:45:09 UTC
In the present version of Wikipedia (can't find version number!), the urlencode
string parser function double encodes. For example: "{{urlencode:<}}" results in
"%26lt%3B", when a correct result should be "%3". Here, the string is first
encoded into "&gt;", which then gets encoded into raw format, "&" into "%26" and
";" into "%3B".
Comment 1 Rob Church 2007-06-20 07:36:41 UTC
This appears to be the result of encoding occurring further up the parse chain; the function itself is receiving "&lt;" as input.
Comment 2 Michael Toews 2008-05-06 15:16:51 UTC
I have noticed that this bug has been fixed (in version 1.13alpha (r34282)).

Thanks!

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


Navigation
Links