From 0ec0980e8dae5d66befa1441b8688b6282312b02 Mon Sep 17 00:00:00 2001 From: Christoph Diehl <1614333+posidron@users.noreply.github.com> Date: Wed, 21 Mar 2018 22:26:35 +0100 Subject: [PATCH] Ensure proper quoting of jsesc --- lib/utils/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/common.js b/lib/utils/common.js index fe6770f..cfcaea6 100644 --- a/lib/utils/common.js +++ b/lib/utils/common.js @@ -31,7 +31,7 @@ class common extends utils { } static quote (s) { - return jsesc(s) + return `'${jsesc(s)}'` } static b64encode (str) {