[X2Go-Commits] [pale-moon] 18/24: Escape '!' to '\041' in posix strings ($'...')

git-admin at x2go.org git-admin at x2go.org
Thu Apr 25 09:06:08 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch upstream/28.4.1
in repository pale-moon.

commit 3be7cb940e52f712787a14efb4721fbb08b524f3
Author: Brian Grinstead <bgrinstead at mozilla.com>
Date:   Sat Mar 23 10:56:30 2019 +0100

    Escape '!' to '\041' in posix strings ($'...')
---
 devtools/client/shared/curl.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devtools/client/shared/curl.js b/devtools/client/shared/curl.js
index 6d33ad9..9670197 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) + "'";
     }
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git


More information about the x2go-commits mailing list