From aadb21422065dc225cfbf487c56382e2b0ae8bcd Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 3 Jun 2007 16:24:22 +0000 Subject: * Fix wrapper generator and untaint code's handling of strings contining newlines. --- IkiWiki/Wrapper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') 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. -- cgit v1.2.3