aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/actions.php2
-rw-r--r--engine/lib/pagehandler.php2
2 files changed, 2 insertions, 2 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]));
}
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]));
}