fix URI encoding and let SECoP module show value

- URI encoding must happen by element
- show values in SECoP module
This commit is contained in:
l_samenv
2024-09-27 13:47:59 +02:00
parent 09c3a5840a
commit cd306c45ac
3 changed files with 3 additions and 5 deletions

View File

@ -27,7 +27,7 @@ function getGroup(s, name) {
}
function sendCommand(s, command) {
reqJSON(s, "http://" + hostPort + "/sendcommand?command=" + command
reqJSON(s, "http://" + hostPort + "/sendcommand?command=" + encodeURIComponent(command)
+ "&id=" + clientID, successHandler, errorHandler);
}