From 3301b7ac5b454845d6c33f3d311fbf3fd0d44f6f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 22:24:52 +0200 Subject: Improve $PATH untaint comment Signed-off-by: Florian Pritz --- script/borg-restore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/borg-restore.pl b/script/borg-restore.pl index f42984e..eb881b0 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -236,7 +236,7 @@ sub main { logger_setup(); my %opts; - # untaint PATH because we only expect this to run as root + # untaint PATH because we do not expect this to be run across user boundaries $ENV{PATH} = App::BorgRestore::Helper::untaint($ENV{PATH}, qr(.*)); Getopt::Long::Configure ("bundling"); -- cgit v1.2.3-24-g4f1b