Page MenuHomePhabricator

When special page name is normalized url params are lost
Open, MediumPublicFeature

Description

Assume the normalized name of Special:A is Special:B

When I'm requesting index.php?title=Special:A&param I'm redirected to index.php?title=Special:B. &param is lost.


Version: 1.16.x
Severity: enhancement

Details

Reference
bz27028

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:17 PM
bzimport set Reference to bz27028.
bzimport added a subscriber: Unknown Object (MLST).

The param are checked for validation and only valid params are there after the redirect. Example:

index.php?title=Special:Ipblocklist&ip=username

index.php?title=Special:BlockList&ip=username

Closing as WONTFIX since the described behavior is as designed.

The fact is that A is provided in an extension and B is its localized name in a certain language. When no validation is specified by the extension author I guess we should assume all params are useful.

btw. How to write validation code in an extension?

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.