mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #566
This commit is contained in:
parent
b435b14497
commit
a9ea62abc2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue