]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Revert "Ticket #2796: don't allow arbitrary overriding of the 'action' class and...
[quix0rs-gnu-social.git] / 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));