}
}
- if (system("svn", "commit", "--quiet", "-m",
+ if (system("svn", "commit", "--quiet",
+ "--encoding", "UTF-8", "-m",
possibly_foolish_untaint($message),
"$config{srcdir}") != 0) {
my $conflict=readfile("$config{srcdir}/$file");
foreach my $msgline (split(/\n/, $logentry->{msg})) {
push @message, { line => escapeHTML($msgline) };
}
+ unshift @message, { line => "\n" } if @message > 1;
my $committype="web";
if (defined $message[0] &&
}
$subject.=" by $user";
- my $template=HTML::Template->new(
- filename => "$config{templatedir}/notifymail.tmpl"
- );
+ my $template=template("notifymail.tmpl");
$template->param(
wikiname => $config{wikiname},
diff => $diff,