Page MenuHomePhabricator

Special pages tab (nstab-special) do not provide proper links if url contains double slashes
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: normal

Details

Reference
bz46607