From 84e6fbf7bd17217c2847c5f7e4e477f2a68291ca Mon Sep 17 00:00:00 2001 From: jon4hz Date: Thu, 22 Jan 2026 11:26:20 +0100 Subject: [PATCH] Revert "fix: use quotemeta to join command parts" This reverts commit 08d440717e1c2a018543dee191969ea3bde1b440. --- bin/shell/osh.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/shell/osh.pl b/bin/shell/osh.pl index 28cd6cc..df64a7d 100755 --- a/bin/shell/osh.pl +++ b/bin/shell/osh.pl @@ -1611,7 +1611,7 @@ else { push @proxyCommand, '-o', "ConnectTimeout=$timeout" if $timeout; # Quote arguments that contain spaces and build the command string - my $proxyCommandStr = join(' ', map { quotemeta } @proxyCommand); + my $proxyCommandStr = join(' ', map { /\s/ ? "'$_'" : $_ } @proxyCommand); push @command, '-o', "ProxyCommand=$proxyCommandStr"; osh_debug("ProxyCommand: $proxyCommandStr");