We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long filenames splitted across multiple lines in the message are not retrieved correctly by the function $attachment->getFilename()
$message->getRawMessage() output: ... --=_6cc5e393f9284e5e531157803beddb81 Content-Transfer-Encoding: base64 Content-Type: text/csv; name*0*=utf-8''BTP%20Cerrados%20%C3%9Altimo%20Mes%20Tickets-20220311-0603; name*1*=03.csv Content-Disposition: attachment; filename*0*=utf-8''BTP%20Cerrados%20%C3%9Altimo%20Mes%20Tickets-20220311-; filename*1*=060303.csv; size=247245
--=_6cc5e393f9284e5e531157803beddb81
Content-Transfer-Encoding: base64
Content-Type: text/csv;
name*0*=utf-8''BTP%20Cerrados%20%C3%9Altimo%20Mes%20Tickets-20220311-0603;
name*1*=03.csv
Content-Disposition: attachment;
filename*0*=utf-8''BTP%20Cerrados%20%C3%9Altimo%20Mes%20Tickets-20220311-;
filename*1*=060303.csv;
size=247245
77u/Ik7Dum1lcm8gZGUgVGlja2V0IjsiRmVjaGEgZGUgY3JlYWNpw7NuIjtBc3VudG87RGU7IkRl ...
77u/Ik7Dum1lcm8gZGUgVGlja2V0IjsiRmVjaGEgZGUgY3JlYWNpw7NuIjtBc3VudG87RGU7IkRl
$attachment->getFilename() returns NULL
$attachment->getFilename()
NULL
$attachment->getFilename() should return "BTP Cerrados Último Mes Tickets-20220311-060303.csv"
"BTP Cerrados Último Mes Tickets-20220311-060303.csv"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
Long filenames splitted across multiple lines in the message are not retrieved correctly by the function $attachment->getFilename()
$message->getRawMessage() output:
...
--=_6cc5e393f9284e5e531157803beddb81
Content-Transfer-Encoding: base64
Content-Type: text/csv;
name*0*=utf-8''BTP%20Cerrados%20%C3%9Altimo%20Mes%20Tickets-20220311-0603;
name*1*=03.csv
Content-Disposition: attachment;
filename*0*=utf-8''BTP%20Cerrados%20%C3%9Altimo%20Mes%20Tickets-20220311-;
filename*1*=060303.csv;
size=247245
77u/Ik7Dum1lcm8gZGUgVGlja2V0IjsiRmVjaGEgZGUgY3JlYWNpw7NuIjtBc3VudG87RGU7IkRl
...
Current behavior
$attachment->getFilename()
returnsNULL
Expected behavior
$attachment->getFilename()
should return"BTP Cerrados Último Mes Tickets-20220311-060303.csv"
The text was updated successfully, but these errors were encountered: