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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user