r987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:< r986‎ | r987 | r988 >
Date:22:26, 2 December 2002
Author:vibber
Status:old
Tags:
Comment:
Edit save must be POST
Modified paths:
  • /trunk/phpwiki/newcodebase/Article.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/newcodebase/Article.php
——@@ -300,6 +300,7 @@
301301 $wgOut->readOnlyPage();
302302 return;
303303 }
 304+ if ( $_SERVER['REQUEST_METHOD'] != "POST" ) unset( $wpSave );
304305 if ( isset( $wpSave ) ) {
305306 $this->editForm( "save" );
306307 } else if ( isset( $wpPreview ) ) {

Status & tagging log