From f4a62d9646631d569a7dcee0c6061d43d7025f37 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 10 Apr 2004 23:57:25 +0000 Subject: [PATCH] Fix for register_globals off --- redirect.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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}" ); ?> -- 2.20.1