]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "Ticket #2796: don't allow arbitrary overriding of the 'action' class and...
authorEvan Prodromou <evan@status.net>
Fri, 26 Nov 2010 16:18:41 +0000 (11:18 -0500)
committerEvan Prodromou <evan@status.net>
Fri, 26 Nov 2010 16:18:41 +0000 (11:18 -0500)
This reverts commit 4193a826d3500c1c8771e2a55ca197011fe637c8.

index.php

index 6079d1f2c414db1593babff1ed935edcbba913ed..9501e2275da6d610b9263bcb5a9e911e721d64de 100644 (file)
--- a/index.php
+++ b/index.php
@@ -272,11 +272,7 @@ function main()
         return;
     }
 
-    // Note the order here: arguments from the URL mapper will
-    // override request params that have been sent. This ensures
-    // that for instance an action parameter can't be overridden
-    // with an arbitrary action class.
-    $args = array_merge($_REQUEST, $args);
+    $args = array_merge($args, $_REQUEST);
 
     Event::handle('ArgsInitialize', array(&$args));