diff --git a/filemin/filemin-lib.pl b/filemin/filemin-lib.pl index d2193b8e4..fddbe509b 100644 --- a/filemin/filemin-lib.pl +++ b/filemin/filemin-lib.pl @@ -73,7 +73,7 @@ sub get_paths { $base = '/'; } } - @allowed_paths = &unique(@allowed_paths); + @allowed_paths = map { &simplify_path($_) } &unique(@allowed_paths); $path = $in{'path'} || ''; $cwd = &simplify_path($base.$path);