diff options
author | Brion Vibber <brion@status.net> | 2010-11-19 15:38:20 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-11-19 15:38:20 -0800 |
commit | 0dcfcbd51732bdb73368461cc3cd5d9898de5484 (patch) | |
tree | 02554762b6631c3ca2d135c1486bfac45a62abd3 | |
parent | 826a695077d08b6d370bccfbaa655950e2dcb60a (diff) | |
parent | 4193a826d3500c1c8771e2a55ca197011fe637c8 (diff) |
Merge branch 'master' into 0.9.x
-rw-r--r-- | index.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -272,7 +272,11 @@ function main() return; } - $args = array_merge($args, $_REQUEST); + // 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); Event::handle('ArgsInitialize', array(&$args)); |