mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 14:58:59 +00:00
ported from UXP: Escape '!' to '\041' in posix strings ($'...') (d00f80f1)
This commit is contained in:
@@ -379,6 +379,7 @@ const CurlUtils = {
|
||||
.replace(/\'/g, "\\\'")
|
||||
.replace(/\n/g, "\\n")
|
||||
.replace(/\r/g, "\\r")
|
||||
.replace(/!/g, "\\041")
|
||||
.replace(/[^\x20-\x7E]/g, escapeCharacter) + "'";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user