aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>2005-05-23 22:10:10 +0000
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>2005-05-23 22:10:10 +0000
commit84f1376565293de120c4a88316cbf5e63a70fdea (patch)
tree9d3cb49bb3ef4d87c90c1e80cfc92933a25b8170 /index.php
parent01abb73840d0417483d78d4a08067587cb2e35ab (diff)
downloadmediawikicore-84f1376565293de120c4a88316cbf5e63a70fdea.tar.gz
mediawikicore-84f1376565293de120c4a88316cbf5e63a70fdea.zip
* Changed the handling of the action GET variable from being lower cased and
trimmed to only being rtrim()'ed.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9160
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index c060cc40728c..f22de25ff098 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();
}