SpecialRandomInCategory: Don't expose edittoken in URL
Bug: T309907 Change-Id: I53e58c16cd1292d78b5775358fc180901f4ce203
This commit is contained in:
parent
cd328d48a0
commit
2f8b7ae673
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ class SpecialRandomInCategory extends FormSpecialPage {
|
|||
return Status::newFatal( $msg );
|
||||
}
|
||||
|
||||
$query = $this->getRequest()->getValues();
|
||||
$query = $this->getRequest()->getQueryValues();
|
||||
unset( $query['title'] );
|
||||
$this->getOutput()->redirect( $title->getFullURL( $query ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue