debianqueued: escape "." in ".changes" in regular expression

Reported-by: NJakub Wilk <jwilk@debian.org>
Reference: https://lists.debian.org/debian-dak/2012/12/msg00016.html
上级 85cdc5c8
......@@ -1325,7 +1325,7 @@ outer_loop: while (<COMMANDS>) {
} elsif ( $conf::upload_method ne "copy" ) {
msg( "mail,log", "cancel not available\n" );
} elsif (
$word[1] !~ m,$re_file_safe_prefix.changes\z, )
$word[1] !~ m,$re_file_safe_prefix\.changes\z, )
{
msg( "mail,log",
"argument to cancel must be one .changes filename without path\n" );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册