This commit is contained in:
dgufan 2024-06-20 14:55:41 +00:00 committed by GitHub
commit 4705002dc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,9 +123,9 @@ class Attachment
// name*1*=%D0%B8...
// etc
if (!empty($parameters['filename*'])) {
$this->setFileName($parameters['filename*']);
$this->setFileName(urldecode($parameters['filename*']));
} elseif (!empty($parameters['name*'])) {
$this->setFileName($parameters['name*']);
$this->setFileName(urldecode($parameters['name*']));
}
if (!empty($parameters['filename'])) {