aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Wrapper.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-06-03 16:24:22 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-06-03 16:24:22 +0000
commitaadb21422065dc225cfbf487c56382e2b0ae8bcd (patch)
tree68e0c2a7d9fd3f0e8957b6d3de86e645d694ea14 /IkiWiki/Wrapper.pm
parent17c2bfa9499e7d8306adc5a59ad8532dc42ff53f (diff)
downloadikiwiki-aadb21422065dc225cfbf487c56382e2b0ae8bcd.tar
ikiwiki-aadb21422065dc225cfbf487c56382e2b0ae8bcd.tar.gz
* Fix wrapper generator and untaint code's handling of strings contining
newlines.
Diffstat (limited to 'IkiWiki/Wrapper.pm')
-rw-r--r--IkiWiki/Wrapper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 8c363cc11..9415d4a17 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -57,7 +57,7 @@ EOF
my $configstring=Data::Dumper->Dump([\%config], ['*config']);
$configstring=~s/\\/\\\\/g;
$configstring=~s/"/\\"/g;
- $configstring=~s/\n/\\\n/g;
+ $configstring=~s/\n/\\n/g;
#translators: The first parameter is a filename, and the second is
#translators: a (probably not translated) error message.