From: Ævar Arnfjörð Bjarmason Date: Mon, 23 May 2005 22:10:10 +0000 (+0000) Subject: * Changed the handling of the action GET variable from being lower cased and X-Git-Tag: 1.5.0alpha2~107 X-Git-Url: https://git.cyclocoop.org/admin/%7B%7Blocalurl:Special:UserLogin%7D%7D?a=commitdiff_plain;h=84f1376565293de120c4a88316cbf5e63a70fdea;p=lhc%2Fweb%2Fwiklou.git * Changed the handling of the action GET variable from being lower cased and trimmed to only being rtrim()'ed. --- 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(); }