Escape password properly in generated JS.
This commit is contained in:
parent
497a6e0720
commit
e4b809927f
@ -304,7 +304,7 @@ cat <<EOF
|
|||||||
input.value = "$username";
|
input.value = "$username";
|
||||||
}
|
}
|
||||||
if (input.type == "password") {
|
if (input.type == "password") {
|
||||||
input.value = "$password";
|
input.value = "${password//\"/\\\"}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user