Ensure proper quoting of jsesc

This commit is contained in:
Christoph Diehl 2018-03-21 22:26:35 +01:00
parent 53d9167682
commit 0ec0980e8d
No known key found for this signature in database
GPG key ID: 799CE5B68FEF404A

View file

@ -31,7 +31,7 @@ class common extends utils {
}
static quote (s) {
return jsesc(s)
return `'${jsesc(s)}'`
}
static b64encode (str) {