From: Brion Vibber Date: Sat, 10 Apr 2004 23:57:25 +0000 (+0000) Subject: Fix for register_globals off X-Git-Tag: 1.3.0beta1~463 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=f4a62d9646631d569a7dcee0c6061d43d7025f37;p=lhc%2Fweb%2Fwiklou.git Fix for register_globals off --- diff --git a/redirect.php b/redirect.php index 11d3c10236..8694e8151c 100644 --- a/redirect.php +++ b/redirect.php @@ -1,6 +1,17 @@ getVal( "wpDropdown" ); + +$url = str_replace( "$1", $page, $wgArticlePath ); + header( "Location: {$url}" ); ?>