From 71ae1b91f601057b82c08d6ef3785ef26650eb91 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 11 Dec 2008 18:36:30 -0500 Subject: [PATCH] Pay no attention to the man behind the curtain. --- common/content/io.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/io.js b/common/content/io.js index d367e10d..229839b1 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -715,7 +715,7 @@ lookup: { liberator.echomsg("Calling shell to execute: " + command, 4); - function escape(str) '"' + str.replace(/([\\"$])/g, "\\$1") + '"'; + function escape(str) '"' + str.replace(/[\\"$]/g, "\\$&") + '"'; let stdoutFile = ioManager.createTempFile(); let stderrFile = ioManager.createTempFile();