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

@ -48,7 +48,7 @@ function createContentConsole(s) {
histIndex = -1;
// Request for command.
reqJSON(s, "http://" + hostPort + "/sendcommand?command="
+ commandline.value + "&id=" + clientID, successHandler,
+ encodeURIComponent(commandline.value) + "&id=" + clientID, successHandler,
errorHandler);
commandline.value = "";
};