-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
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
Content-Type paramater does not trim paramater name #23
Comments
I've created PR #97 for it. |
weierophinney
added a commit
that referenced
this issue
Jul 28, 2020
artemii-karkusha
pushed a commit
to artemii-karkusha/laminas-mail
that referenced
this issue
May 24, 2023
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
artemii-karkusha
pushed a commit
to artemii-karkusha/laminas-mail
that referenced
this issue
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am getting filenames for attachments using the getParameter() on the content-type header. I noticed some email parts that were supposed to be attachments did not have a filename. Inspecting the source header, I could see that there was in fact a filename set. Further inspection showed that the parameter name was being added with a leading space. I would expect that leading spaces would be trimmed.
Thanks,
Cody
Code to reproduce the issue
Actual results
My Fix
I would not presume to understand the best place to resolve this, but this hack solved my problem for the time being
Originally posted by @cody121 at zendframework/zend-mail#220
The text was updated successfully, but these errors were encountered: