Last modified: 2005-11-03 22:48:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2379, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 379 - Double decoding in URLs causes user to be directed to wrong page
Double decoding in URLs causes user to be directed to wrong page
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User%3AG...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-04 22:57 UTC by Steven Melenchuk
Modified: 2005-11-03 22:48 UTC (History)
0 users

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


Attachments

Description Steven Melenchuk 2004-09-04 22:57:35 UTC
An attempt to access an article with "%28" or "%29" (and probably other HTML
characters) can only be done if one enters in %252528 in the URL instead of the
expected %2528; for example,
http://en.wikipedia.org/wiki/User:Grunt/Bug_%2528demo%2529 goes to
[[en:User:Grunt/Bug (demo)]] instead of [[en:User:Grunt/Bug %28demo%29]], but
http://en.wikipedia.org/wiki/User:Grunt/Bug_%252528demo%252529 goes to the
proper article. Strangely, visiting
http://en.wikipedia.org/w/wiki.phmtl?title=User%3AGrunt%2FBug_%2528demo%2529
goes to the proper page.
Comment 1 Steven Melenchuk 2004-09-04 22:58:55 UTC
Oops; The latter URL should read
http://en.wikipedia.org/w/wiki.phmtl?title=User:Grunt/Bug_%2528demo%2529.

Comment 2 Brion Vibber 2004-09-04 23:23:11 UTC
Problem seems to be with the rewrite URLs, probably Apache is de-escaping and not re-
escaping the percent sign. Raw PATH_INFO also works correctly.
Comment 3 Brion Vibber 2005-11-03 22:48:38 UTC
Such titles are not currently legal, so not a problem. :D

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


Navigation
Links