From 84f1376565293de120c4a88316cbf5e63a70fdea Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 23 May 2005 22:10:10 +0000 Subject: [PATCH] * Changed the handling of the action GET variable from being lower cased and trimmed to only being rtrim()'ed. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index c060cc4072..f22de25ff0 100644 --- a/index.php +++ b/index.php @@ -69,7 +69,7 @@ OutputPage::setEncodings(); # Not really used yet $action = $wgRequest->getVal( 'action', 'view' ); $title = $wgRequest->getVal( 'title' ); -$action = strtolower( trim( $action ) ); +$action = rtrim( $action ); if ($wgRequest->getVal( 'printable' ) == 'yes') { $wgOut->setPrintable(); } -- 2.20.1