* Changed the handling of the action GET variable from being lower cased and
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 23 May 2005 22:10:10 +0000 (22:10 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Mon, 23 May 2005 22:10:10 +0000 (22:10 +0000)
  trimmed to only being rtrim()'ed.

index.php

index c060cc4..f22de25 100644 (file)
--- 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();
 }