* Fix wrapper generator and untaint code's handling of strings contining
newlines.master
parent
17c2bfa949
commit
aadb214220
|
@ -206,7 +206,7 @@ sub log_message ($$) { #{{{
|
||||||
|
|
||||||
sub possibly_foolish_untaint ($) { #{{{
|
sub possibly_foolish_untaint ($) { #{{{
|
||||||
my $tainted=shift;
|
my $tainted=shift;
|
||||||
my ($untainted)=$tainted=~/(.*)/;
|
my ($untainted)=$tainted=~/(.*)/s;
|
||||||
return $untainted;
|
return $untainted;
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ EOF
|
||||||
my $configstring=Data::Dumper->Dump([\%config], ['*config']);
|
my $configstring=Data::Dumper->Dump([\%config], ['*config']);
|
||||||
$configstring=~s/\\/\\\\/g;
|
$configstring=~s/\\/\\\\/g;
|
||||||
$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: The first parameter is a filename, and the second is
|
||||||
#translators: a (probably not translated) error message.
|
#translators: a (probably not translated) error message.
|
||||||
|
|
|
@ -32,8 +32,10 @@ ikiwiki (2.2) UNRELEASED; urgency=low
|
||||||
in a PageSpec.
|
in a PageSpec.
|
||||||
* Explode some of the more insane regexps.
|
* Explode some of the more insane regexps.
|
||||||
* Add test suite for preprocessor directive parsing.
|
* Add test suite for preprocessor directive parsing.
|
||||||
|
* Fix wrapper generator and untaint code's handling of strings contining
|
||||||
|
newlines.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Sat, 02 Jun 2007 01:03:37 -0400
|
-- Joey Hess <joeyh@debian.org> Sun, 03 Jun 2007 12:20:26 -0400
|
||||||
|
|
||||||
ikiwiki (2.1) unstable; urgency=low
|
ikiwiki (2.1) unstable; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-06-01 19:35-0400\n"
|
"POT-Creation-Date: 2007-06-03 12:21-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
Loading…
Reference in New Issue