aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-11 16:09:45 -0800
committerfriendica <info@friendica.com>2014-11-11 16:09:45 -0800
commit06e5d0798c67e8314429e475523a6a30e50bfb8e (patch)
treecbd827d516a55ca1b2cdca00dde258c7a702abaf /include
parent09b09dedbc3157e1859f4a777aeab54fadabfb43 (diff)
downloadvolse-hubzilla-06e5d0798c67e8314429e475523a6a30e50bfb8e.tar.gz
volse-hubzilla-06e5d0798c67e8314429e475523a6a30e50bfb8e.tar.bz2
volse-hubzilla-06e5d0798c67e8314429e475523a6a30e50bfb8e.zip
and urlencode that.
Diffstat (limited to 'include')
-rw-r--r--include/text.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php
index 4aa412355..7cb54edd3 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2054,7 +2054,7 @@ function extra_query_args() {
foreach($_GET as $k => $v) {
// these are request vars we don't want to duplicate
if(! in_array($k, array('q','f','zid','page','PHPSESSID'))) {
- $s .= '&' . $k . '=' . $v;
+ $s .= '&' . $k . '=' . urlencode($v);
}
}
}
@@ -2062,7 +2062,7 @@ function extra_query_args() {
foreach($_POST as $k => $v) {
// these are request vars we don't want to duplicate
if(! in_array($k, array('q','f','zid','page','PHPSESSID'))) {
- $s .= '&' . $k . '=' . $v;
+ $s .= '&' . $k . '=' . urlencode($v);
}
}
}