Last modified: 2013-03-28 10:49:02 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 T48607, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46607 - Special pages tab (nstab-special) do not provide proper links if url contains double slashes
Special pages tab (nstab-special) do not provide proper links if url contains...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 46627
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-27 15:47 UTC by Mark A. Hershberger
Modified: 2013-03-28 10:49 UTC (History)
1 user (show)

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


Attachments

Description Mark A. Hershberger 2013-03-27 15:47:44 UTC
For example, on http://en.wikipedia.org//w/index.php?title=Special:Upload (note "//" before the "w") the "Special Page" links to http://w/index.php?title=Special:Upload.

The problem appears to be that SkinTemplate::buildContentNavigationUrls() uses $wgRequest->getRequestURL() to create a nav url and that returns an incorrect URL.
Comment 1 Mark A. Hershberger 2013-03-27 16:43:19 UTC
https://gerrit.wikimedia.org/r/56176
Comment 2 Siebrand Mazeland 2013-03-28 08:40:04 UTC
Causes bug 46627. Patch: Gerrit change #56372
Comment 3 Andre Klapper 2013-03-28 10:49:02 UTC
(In reply to comment #1)
> https://gerrit.wikimedia.org/r/56176

...got merged. Closing.

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


Navigation
Links