r23304 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23303‎ | r23304 | r23305 >
Date:19:37, 23 June 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 10344) Don't follow a redirect after changing its protection level
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/ProtectionForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ProtectionForm.php
@@ -80,7 +80,7 @@
8181 if( $wgRequest->wasPosted() ) {
8282 if( $this->save() ) {
8383 global $wgOut;
84 - $wgOut->redirect( $this->mTitle->getFullUrl() );
 84+ $wgOut->redirect( $this->mTitle->getFullUrl( 'redirect=no' ) );
8585 }
8686 } else {
8787 $this->show();
Index: trunk/phase3/RELEASE-NOTES
@@ -197,6 +197,7 @@
198198 * Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving
199199 overlong key errors.
200200 * Fixed zero-padding issues with MySQL 5 binary schema
 201+* (bug 10344) Don't follow a redirect after changing its protection level
201202
202203 == API changes since 1.10 ==
203204

Follow-up revisions

RevisionCommit summaryAuthorDate
r23407Merged revisions 23203-23405 via svnmerge from...david23:00, 25 June 2007

Status & tagging log