diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-13 00:57:37 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-13 00:57:37 +0000 |
commit | 192544552d8235024ca0a12cb07192db573e6902 (patch) | |
tree | a944a4fcf852cf9f77f9de9cd98903d1c013ba0c | |
parent | 5c734b80df3a9e4bd49b20b0a99276c883445dc0 (diff) |
improve quoting of --params
-rwxr-xr-x | ikiwiki | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", }; |