r14920 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14919‎ | r14920 | r14921 >
Date:03:59, 23 June 2006
Author:tstarling
Status:old
Tags:
Comment:
Added extra input validation for namespace parameter
Modified paths:
  • /trunk/phase3/includes/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialContributions.php
@@ -184,7 +184,7 @@
185185 $finder->set_offset($options['offset']);
186186
187187 if (($ns = $wgRequest->getVal('namespace', null)) !== null && $ns !== '') {
188 - $options['namespace'] = $ns;
 188+ #$options['namespace'] = intval( $ns );
189189 $finder->set_namespace($options['namespace']);
190190 } else {
191191 $options['namespace'] = '';

Status & tagging log