Re: svn commit: r16801 - trunk/tools/hook-scripts
From: Kalle Olavi Niemitalo <kon_at_iki.fi>
Date: 2005-10-20 09:39:56 CEST
> Modified: trunk/tools/hook-scripts/commit-email.pl.in
> @@ -463,7 +464,7 @@
I wonder if it would be better to use
my $command = "$sendmail -f\Q$mail_from\E $userlist";
in case there are single quotes in $mail_from, as well.
This does the wrong thing with newlines (at least some shells
Also, if $mail_from contains multibyte characters, then \Q seems
Another possibility might be to put the strings as separate
if open(SENDMAIL, "|-", $command, "-f", $mail_from,
but perhaps that doesn't work on all Perl versions you want to
This is an archived mail posted to the Subversion Dev mailing list.