aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/pagehandler.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-05 09:47:08 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-05 09:47:08 +0000
commitc15e8643b1eb0e8821bd3fb254a16d77b50f4bdd (patch)
treed9aedc2724739f4d4eb6fde306cb4dbafcd27129 /engine/lib/pagehandler.php
parenta5987abbea3ba2e16df0d45190dfa752b8ef026b (diff)
downloadelgg-c15e8643b1eb0e8821bd3fb254a16d77b50f4bdd.tar.gz
elgg-c15e8643b1eb0e8821bd3fb254a16d77b50f4bdd.tar.bz2
Close #1040: Limited explode on action and page handler.
git-svn-id: https://code.elgg.org/elgg/trunk@3321 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/pagehandler.php')
-rw-r--r--engine/lib/pagehandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/pagehandler.php b/engine/lib/pagehandler.php
index 24ada2ce4..cc347ed17 100644
--- a/engine/lib/pagehandler.php
+++ b/engine/lib/pagehandler.php
@@ -31,7 +31,7 @@
$query = explode('&',$query);
if (sizeof($query) > 0) {
foreach($query as $queryelement) {
- $vals = explode('=',$queryelement);
+ $vals = explode('=',$queryelement, 2);
if (sizeof($vals) > 1) {
set_input(urldecode($vals[0]),urldecode($vals[1]));
}