From: Ansgar Burchardt Date: Fri, 7 Dec 2012 12:07:17 +0000 (+0100) Subject: debianqueued: escape "." in ".changes" in regular expression X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7358071631adb4b1765220921175436e3f963f;p=dak debianqueued: escape "." in ".changes" in regular expression Reported-by: Jakub Wilk Reference: https://lists.debian.org/debian-dak/2012/12/msg00016.html --- 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" );