diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-06-05 09:47:08 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-06-05 09:47:08 +0000 |
commit | c15e8643b1eb0e8821bd3fb254a16d77b50f4bdd (patch) | |
tree | d9aedc2724739f4d4eb6fde306cb4dbafcd27129 /engine/lib/actions.php | |
parent | a5987abbea3ba2e16df0d45190dfa752b8ef026b (diff) | |
download | elgg-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/actions.php')
-rw-r--r-- | engine/lib/actions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php index b1a876454..0a56ea475 100644 --- a/engine/lib/actions.php +++ b/engine/lib/actions.php @@ -33,7 +33,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(trim($vals[0]),trim($vals[1])); } |