summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it.class b/it.class
index 436fe73..3720263 100644
--- a/it.class
+++ b/it.class
@@ -1168,8 +1168,8 @@ static function mod($a, $n)
static function safe_filename($filename)
{
- if (it::match("\./", $filename))
- it::error(['to' => "mueller", 'title' => "fishy filename $filename"]); # FIXME 2018-08 UM should be fatal after test phase
+ if (it::match("\.\./", $filename))
+ it::fatal(['title' => "../ contained in '$filename', aborted"]);
return $filename;
}