aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-28 17:16:40 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-28 17:16:40 +0000
commit9e38ccb119aac5a1a3c4a9cede38dcd6a3a05e8e (patch)
tree32d07bcabc9f028cde7d86ba3bd69d3a433e49d6 /engine
parentfe79cfe094c9f7f20bd8e3109b1bd3003a85f9bf (diff)
downloadelgg-9e38ccb119aac5a1a3c4a9cede38dcd6a3a05e8e.tar.gz
elgg-9e38ccb119aac5a1a3c4a9cede38dcd6a3a05e8e.tar.bz2
Closes #1035: Page handler now urldecodes input, necessary as vars are extracted from request_uri and not $_REQUEST (which is automatically decoded)
git-svn-id: https://code.elgg.org/elgg/trunk@3314 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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 224858bd1..24ada2ce4 100644
--- a/engine/lib/pagehandler.php
+++ b/engine/lib/pagehandler.php
@@ -33,7 +33,7 @@
foreach($query as $queryelement) {
$vals = explode('=',$queryelement);
if (sizeof($vals) > 1) {
- set_input(($vals[0]),($vals[1]));
+ set_input(urldecode($vals[0]),urldecode($vals[1]));
}
}
}