From 324e08618e3b219b13c9755d850c1b2b89322415 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 23 Jun 2006 03:59:17 +0000 Subject: [PATCH] Added extra input validation for namespace parameter --- includes/SpecialContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index f9fcd2e23f..2a1fc8d943 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -184,7 +184,7 @@ function wfSpecialContributions( $par = null ) { $finder->set_offset($options['offset']); if (($ns = $wgRequest->getVal('namespace', null)) !== null && $ns !== '') { - $options['namespace'] = $ns; + #$options['namespace'] = intval( $ns ); $finder->set_namespace($options['namespace']); } else { $options['namespace'] = ''; -- 2.20.1