https://bugzilla.wikimedia.org/show_bug.cgi?id=48881
Web browser: ---
Bug ID: 48881
Summary: WebInstallerOutput.getCssUrl add duplicate '?' when
appending parameters to url
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Installer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Html::linkedStyle( $_SERVER['PHP_SELF'] . '?css=' . $this->getDir() );
Will returns the following url:
/mw-config/index.php?page=Welcome?css=ltr
Causing bad arguments parsing on certain web servers.
Instead getCssUrl should rely on something like
http://php.net/manual/en/function.http-build-query.php to build the query
string properly.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l