From c53c120108b6cda44f6e41f9938374ea28fe53cb Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Wed, 27 Feb 2019 13:13:15 +0100 Subject: [PATCH] fix(monitoring): remove double encoding of host name ref : https://github.com/centreon/centreon/commit/7d94d87162512526644fd0681fe1c4e80c67ac3d#diff-1adbd0d1d188a77b97f72149d1d4f674 --- www/include/monitoring/status/Services/serviceJS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/include/monitoring/status/Services/serviceJS.php b/www/include/monitoring/status/Services/serviceJS.php index c2efe67ade9..d3c2bf68727 100644 --- a/www/include/monitoring/status/Services/serviceJS.php +++ b/www/include/monitoring/status/Services/serviceJS.php @@ -272,7 +272,7 @@ function cmdCallback(cmd) { if ((keyz == _selectedElem[keyz]) && typeof(document.getElementById(decodeURIComponent(keyz)) != 'undefined') && document.getElementById(decodeURIComponent(keyz))) { if (document.getElementById(decodeURIComponent(keyz)).checked) { - _getVar += '&select[' + encodeURIComponent(keyz) + ']=1'; + _getVar += '&select[' + keyz + ']=1'; } } }