mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Escape '!' to '\041' in posix strings ($'...')
This commit is contained in:
parent
e9a87c9cb0
commit
d00f80f18f
1 changed files with 1 additions and 0 deletions
|
|
@ -375,6 +375,7 @@ const CurlUtils = {
|
||||||
.replace(/\'/g, "\\\'")
|
.replace(/\'/g, "\\\'")
|
||||||
.replace(/\n/g, "\\n")
|
.replace(/\n/g, "\\n")
|
||||||
.replace(/\r/g, "\\r")
|
.replace(/\r/g, "\\r")
|
||||||
|
.replace(/!/g, "\\041")
|
||||||
.replace(/[^\x20-\x7E]/g, escapeCharacter) + "'";
|
.replace(/[^\x20-\x7E]/g, escapeCharacter) + "'";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue