summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;