[devtools] Escape some more characters for copying as cURL on Posix.

This commit is contained in:
Moonchild
2025-04-30 11:42:20 +02:00
committed by roytam1
parent be9a6ed2ac
commit ba3a5074c7
+1
View File
@@ -389,6 +389,7 @@ const CurlUtils = {
.replace(/\n/g, "\\n")
.replace(/\r/g, "\\r")
.replace(/!/g, "\\041")
.replace(/([&\|])/g, "^$1")
.replace(/[^\x20-\x7E]/g, escapeCharacter) + "'";
}