summaryrefslogtreecommitdiffstats
path: root/lib/App/BorgRestore
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-03-02 22:11:49 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-03-02 22:11:49 +0100
commitea7b9ccd31eda9ec803cebe3e29509a9458757b5 (patch)
tree28a73274a388a3712e05bc8afd06478a910cbd88 /lib/App/BorgRestore
parentd598a09bebc2567e89234ac9e8e0362b60349c73 (diff)
downloadApp-BorgRestore-ea7b9ccd31eda9ec803cebe3e29509a9458757b5.tar.gz
App-BorgRestore-ea7b9ccd31eda9ec803cebe3e29509a9458757b5.tar.xz
Allow dots in archive names
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App/BorgRestore')
-rw-r--r--lib/App/BorgRestore/Helper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/BorgRestore/Helper.pm b/lib/App/BorgRestore/Helper.pm
index b4d52e5..8403ec3 100644
--- a/lib/App/BorgRestore/Helper.pm
+++ b/lib/App/BorgRestore/Helper.pm
@@ -14,7 +14,7 @@ sub untaint {
sub untaint_archive_name {
my $archive = shift;
- return untaint($archive, qr([a-zA-Z0-9-:+]+));
+ return untaint($archive, qr([a-zA-Z0-9-:+\.]+));
}
1;