mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-28 21:46:02 +03:00
fixed oversight of multiline utf8 headers being urlencoded
This commit is contained in:
parent
68cb173bc5
commit
c3d6e9a11b
@ -121,9 +121,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'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user