From 06e5d0798c67e8314429e475523a6a30e50bfb8e Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 11 Nov 2014 16:09:45 -0800 Subject: and urlencode that. --- include/text.php | 4 ++-- 1 file 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); } } } -- cgit v1.2.3