Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F251582
mw.patch
Firebus (Russell Uman)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
Firebus
Jul 24 2015, 11:02 PM
2015-07-24 23:02:58 (UTC+0)
Size
609 B
Referenced Files
None
Subscribers
None
mw.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
240835
Default Alt Text
mw.patch (609 B)
Attached To
Mode
T106910: WatchAction breaks when $wgUseAjax = false;
Attached
Detach File
Event Timeline
Log In to Comment