From: joey Date: Mon, 13 Mar 2006 00:57:37 +0000 (+0000) Subject: improve quoting of --params X-Git-Tag: 1.0~385 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=192544552d8235024ca0a12cb07192db573e6902;p=ikiwiki.git improve quoting of --params --- diff --git a/ikiwiki b/ikiwiki index fb721907e..8e22ebfac 100755 --- a/ikiwiki +++ b/ikiwiki @@ -642,7 +642,7 @@ sub gen_wrapper ($$) { #{{{ push @params, "--cgiurl=$cgiurl" if $cgiurl; push @params, "--historyurl=$historyurl" if $historyurl; push @params, "--anonok" if $anonok; - my $params=join(" ", @params); + my $params=join(" ", map { "\'$_\'" } @params); my $call=''; foreach my $p ($this, $this, @params) { $call.=qq{"$p", };