Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jappix/jappix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server/functions.php')
-rw-r--r--server/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/functions.php b/server/functions.php
index 7706beca..7939f2ff 100644
--- a/server/functions.php
+++ b/server/functions.php
@@ -1077,7 +1077,7 @@ function keepGet($current, $no_get) {
foreach($sanitized as &$get_var) {
$get_var = preg_replace_callback(
'/^(.*=)(.+)$/',
- function($m) { $data = urldecode($m[2]); return '&' . $m[1] . urlencode($data); },
+ function($m) { $data = htmlentities(urldecode($m[2])); return '&' . htmlentities($m[1]) . urlencode($data); },
$get_var
);
}