From 0d7358071631adb4b1765220921175436e3f963f Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Fri, 7 Dec 2012 13:07:17 +0100 Subject: [PATCH] debianqueued: escape "." in ".changes" in regular expression Reported-by: Jakub Wilk Reference: https://lists.debian.org/debian-dak/2012/12/msg00016.html --- tools/debianqueued-0.9/debianqueued | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/debianqueued-0.9/debianqueued b/tools/debianqueued-0.9/debianqueued index c19c1c33..d5937abb 100755 --- a/tools/debianqueued-0.9/debianqueued +++ b/tools/debianqueued-0.9/debianqueued @@ -1325,7 +1325,7 @@ outer_loop: while () { } 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" ); -- 2.39.5