projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c734b8
)
improve quoting of --params
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 13 Mar 2006 00:57:37 +0000
(
00:57
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Mon, 13 Mar 2006 00:57:37 +0000
(
00:57
+0000)
ikiwiki
patch
|
blob
|
history
diff --git
a/ikiwiki
b/ikiwiki
index fb721907e0edb1924f1ce297722781d2b9704ff2..8e22ebfac25e02af4a70a289519f42d4120a195a 100755
(executable)
--- 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", };