Escape '!' to '\041' in posix strings ($'...')
This commit is contained in:
parent
932b99bff3
commit
6f573a7c56
|
@ -375,6 +375,7 @@ const CurlUtils = {
|
|||
.replace(/\'/g, "\\\'")
|
||||
.replace(/\n/g, "\\n")
|
||||
.replace(/\r/g, "\\r")
|
||||
.replace(/!/g, "\\041")
|
||||
.replace(/[^\x20-\x7E]/g, escapeCharacter) + "'";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue