Page MenuHomePhabricator
Authored By
Firebus
Jul 24 2015, 11:02 PM
Size
609 B
Referenced Files
None
Subscribers
None

mw.patch

Index: includes/actions/WatchAction.php
===================================================================
--- includes/actions/WatchAction.php (revision 630)
+++ includes/actions/WatchAction.php (revision 631)
@@ -66,8 +66,8 @@
$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() );
$this->onSuccess();

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
240835
Default Alt Text
mw.patch (609 B)

Event Timeline