mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 18:58:17 +00:00
Ignore _VIEWS in getStashKey()
Change-Id: I9830fa237073f57285435c65fe4838d23ab1d024
This commit is contained in:
parent
9e06345f19
commit
8da016fe26
|
@ -881,6 +881,7 @@ class AbuseFilter {
|
|||
$oldContextTitle = $context->getTitle();
|
||||
|
||||
$oldWgTitle = $wgTitle;
|
||||
|
||||
if ( !$wgTitle ) {
|
||||
$wgTitle = SpecialPage::getTitleFor( 'AbuseFilter' );
|
||||
}
|
||||
|
@ -1029,6 +1030,7 @@ class AbuseFilter {
|
|||
unset( $inputVars['new_html'] );
|
||||
unset( $inputVars['user_age'] );
|
||||
unset( $inputVars['timestamp'] );
|
||||
unset( $inputVars['_VIEWS'] );
|
||||
ksort( $inputVars );
|
||||
$hash = md5( serialize( $inputVars ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue