diff -r 880c4b7eb658 -r 9d5c04c1414f includes/pageprocess.php --- a/includes/pageprocess.php Sat Jan 17 15:16:36 2009 -0500 +++ b/includes/pageprocess.php Sun Jan 25 21:18:05 2009 -0500 @@ -198,6 +198,11 @@ return false; } } + if ( $this->revision_id > 0 && !$this->perms->get_permissions('history_view') ) + { + $this->err_access_denied(); + return false; + } // Is there a custom function registered for handling this namespace? // DEPRECATED (even though it only saw its way into one alpha release.) @@ -443,6 +448,13 @@ } } + // Spam check + if ( !spamalyze($text) ) + { + $this->raise_error($lang->get('editor_err_spamcheck_failed')); + return false; + } + // // Protection validated; update page content //