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
1 changed files with 1 additions and 1 deletions

View File

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