Ensure detached filename is not a path
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
Close inactive / close-inactive (push) Has been cancelled

This commit is contained in:
Jamie Cameron
2026-08-27 21:39:41 -07:00
parent 66ae27b3fe
commit 25d5189a7c

View File

@@ -146,6 +146,7 @@ else {
$attach->{'type'} =~ /\/(\S+)$/;
$fn = "file.$1";
}
$fn =~ s/^.*\///;
$path = "$in{'dir'}/$fn";
}
else {