Firebus has uploaded a new change for review.
https://gerrit.wikimedia.org/r/228774
Change subject: use getPrefixedDbkey() when generating salt in
WatchAction::show() to match the salt generated in getWatchToken()
......................................................................
use getPrefixedDbkey() when generating salt in WatchAction::show() to match the
salt generated in getWatchToken()
Change-Id: I93e22a2aaee8bf888fa613929c1027f5f0c2642f
---
M includes/actions/WatchAction.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/74/228774/1
diff --git a/includes/actions/WatchAction.php b/includes/actions/WatchAction.php
index 9647340..8b6e329 100644
--- a/includes/actions/WatchAction.php
+++ b/includes/actions/WatchAction.php
@@ -64,7 +64,7 @@
$this->checkCanExecute( $user );
// Must have valid token for this action/title
- $salt = array( $this->getName(), $this->getTitle()->getDBkey()
);
+ $salt = array( $this->getName(),
$this->getTitle()->getPrefixedDBkey() );
if ( $user->matchEditToken( $this->getRequest()->getVal(
'token' ), $salt ) ) {
$this->onSubmit( array() );
--
To view, visit https://gerrit.wikimedia.org/r/228774
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I93e22a2aaee8bf888fa613929c1027f5f0c2642f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Firebus <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits