diff options
author | Brian Grinstead <bgrinstead@mozilla.com> | 2019-03-23 10:56:30 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-23 10:56:30 +0100 |
commit | 0cf21586323066afeb78eed4f04c46e7608688fd (patch) | |
tree | d204e7ec79451290b15d69a4d8bfb3d1b56ead81 /devtools | |
parent | 45db00925b53eed28474a58a4e3e66736f9426a0 (diff) | |
download | aura-central-0cf21586323066afeb78eed4f04c46e7608688fd.tar.gz |
Escape '!' to '\041' in posix strings ($'...')
Diffstat (limited to 'devtools')
-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) + "'"; } |