diff options
author | Brian Grinstead <bgrinstead@mozilla.com> | 2019-03-23 10:56:30 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-23 13:56:15 +0100 |
commit | 3be7cb940e52f712787a14efb4721fbb08b524f3 (patch) | |
tree | 4d02610753e58913f2176b4f19e69dd5dd2d2d53 /devtools/client/shared | |
parent | 1af286ffef9b71ed8dbe68b8d25484f47dfd75ec (diff) | |
download | UXP-3be7cb940e52f712787a14efb4721fbb08b524f3.tar UXP-3be7cb940e52f712787a14efb4721fbb08b524f3.tar.gz UXP-3be7cb940e52f712787a14efb4721fbb08b524f3.tar.lz UXP-3be7cb940e52f712787a14efb4721fbb08b524f3.tar.xz UXP-3be7cb940e52f712787a14efb4721fbb08b524f3.zip |
Escape '!' to '\041' in posix strings ($'...')
Diffstat (limited to 'devtools/client/shared')
-rw-r--r-- | devtools/client/shared/curl.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/client/shared/curl.js b/devtools/client/shared/curl.js index 6d33ad971..967019746 100644 --- a/devtools/client/shared/curl.js +++ b/devtools/client/shared/curl.js @@ -375,6 +375,7 @@ const CurlUtils = { .replace(/\'/g, "\\\'") .replace(/\n/g, "\\n") .replace(/\r/g, "\\r") + .replace(/!/g, "\\041") .replace(/[^\x20-\x7E]/g, escapeCharacter) + "'"; } |