We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d10632 commit 510a2b4Copy full SHA for 510a2b4
sedunlocksrv/index.html
@@ -375,11 +375,11 @@ <h3>REBOOTING</h3>
375
"action=" +
376
action +
377
"&psw=" +
378
- document.getElementById("psw").value;
+ encodeURIComponent(document.getElementById("psw").value);
379
380
if (action === "change-pwd") {
381
- data += "&newpsw=" + document.getElementById("newpsw").value;
382
- data += "&newpsw2=" + document.getElementById("newpsw2").value;
+ data += "&newpsw=" + encodeURIComponent(document.getElementById("newpsw").value);
+ data += "&newpsw2=" + encodeURIComponent(document.getElementById("newpsw2").value);
383
}
384
385
postData(e, data);
0 commit comments