This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch tor-browser-102.3.0esr-12.0-2 in repository tor-browser.
The following commit(s) were added to refs/heads/tor-browser-102.3.0esr-12.0-2 by this push: new 8e55eb5a9baa fixup! Bug 40933: Add tor-launcher functionality 8e55eb5a9baa is described below
commit 8e55eb5a9baaa8f9a81ef6592159bea3decb940d Author: Pier Angelo Vendrame pierov@torproject.org AuthorDate: Tue Oct 18 17:08:33 2022 +0200
fixup! Bug 40933: Add tor-launcher functionality
Bug 41376: Replace all / with \ on Windows in TorFile --- toolkit/components/tor-launcher/TorLauncherUtil.jsm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/toolkit/components/tor-launcher/TorLauncherUtil.jsm b/toolkit/components/tor-launcher/TorLauncherUtil.jsm index c2e066e5d29f..f606a4076bb7 100644 --- a/toolkit/components/tor-launcher/TorLauncherUtil.jsm +++ b/toolkit/components/tor-launcher/TorLauncherUtil.jsm @@ -196,12 +196,15 @@ class TorFile { throw new Error("Unknown file type"); } if (TorLauncherUtil.isWindows) { - this.path = this.path.replace("/", "\"); + this.path = this.path.replaceAll("/", "\"); } this.isRelativePath = true; }
pathToFile() { + if (TorLauncherUtil.isWindows) { + this.path = this.path.replaceAll("/", "\"); + } // Turn 'path' into an absolute path when needed. if (this.isRelativePath) { const isUserData =
tor-commits@lists.torproject.org