From 023004e9cc9413d5b177a52b5692021047576895 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sun, 3 Apr 2016 20:54:46 +0200 Subject: [PATCH] btrbk: bugfix: add '=' character to (regression introduced in a7cd4a99) --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index c653fbf..dc7db43 100755 --- a/btrbk +++ b/btrbk @@ -65,7 +65,7 @@ my $timestamp_postfix_match = qr/\.(?[0-9]{4})(?[0-9]{2})(?
[0-9]{2 my $raw_postfix_match = qr/--(?$uuid_match)(\@(?$uuid_match))?\.btrfs?(\.(?(gz|bz2|xz)))?(\.(?gpg))?/; # matches ".btrfs_[@][.gz|bz2|xz][.gpg]" my $group_match = qr/[a-zA-Z0-9_:-]+/; my $ssh_cipher_match = qr/[a-z0-9][a-z0-9@.-]+/; -my $safe_cmd_match = $file_match; # good enough for our purpose +my $safe_cmd_match = qr/[0-9a-zA-Z_@=\+\-\.\/]+/; # $file_match plus '=': good enough for our purpose my %day_of_week_map = ( monday => 1, tuesday => 2, wednesday => 3, thursday => 4, friday => 5, saturday => 6, sunday => 7 );