This commit is contained in:
the-djmaze 2022-10-20 00:46:49 +02:00
parent b435b14497
commit a9ea62abc2

View file

@ -930,7 +930,7 @@ class Actions
$sClearedFileName = \substr($sClearedFileName, 0, $iMaxLength) . (empty($sExt) ? '' : '.' . $sExt); $sClearedFileName = \substr($sClearedFileName, 0, $iMaxLength) . (empty($sExt) ? '' : '.' . $sExt);
} }
return \MailSo\Base\Utils::ClearFileName(\MailSo\Base\Utils::Utf8Clear($sClearedFileName)); return \MailSo\Base\Utils::SecureFileName(\MailSo\Base\Utils::Utf8Clear($sClearedFileName));
} }
protected function getUploadErrorMessageByCode(int $iError, int &$iClientError): string protected function getUploadErrorMessageByCode(int $iError, int &$iClientError): string