From e6f7fe4ce60ba998d00affa6725651f0ae33739d Mon Sep 17 00:00:00 2001 From: alexis Algoud Date: Mon, 27 Nov 2017 15:29:19 +0100 Subject: [PATCH] fix print password is visible into link after login --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 402f74c0ca8..8a132062166 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1488,7 +1488,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a if (is_array($_POST)) { foreach($_POST as $key=>$value) { - if ($key!=='action' && !is_array($value)) $qs.='&'.$key.'='.urlencode($value); + if ($key!=='action' && $key!=='password' && !is_array($value)) $qs.='&'.$key.'='.urlencode($value); } } $qs.=(($qs && $morequerystring)?'&':'').$morequerystring;