Skip to content
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

Fixes #23 ensure trim() on ContentType::addParameter() #97

Conversation

samsonasik
Copy link
Member

Signed-off-by: Abdul Malik Ikhsan samsonasik@gmail.com

Q A
Bugfix yes

Description

Fixes #23 ensure trim() on ContentType::addParameter() so ContentType::getParameter("name") will always get correct result.

Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
@samsonasik samsonasik added the Bug Something isn't working label Jul 24, 2020
@samsonasik
Copy link
Member Author

travis build green 🎉

@weierophinney weierophinney merged commit a39d6f2 into laminas:master Jul 28, 2020
weierophinney added a commit that referenced this pull request Jul 28, 2020
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@samsonasik samsonasik deleted the fix-23-ensure-trim-on-content-type-addparameter branch July 28, 2020 21:17
@glensc
Copy link
Contributor

glensc commented Jul 29, 2020

IMHO this is fixed in the wrong place. the trim should be in a call to addParameter not in addParameter itself.

@michalbundyra
Copy link
Member

@glensc Please open separate PR and link to this issue. As it is closed already can be easily missed. Thanks!

artemii-karkusha pushed a commit to artemii-karkusha/laminas-mail that referenced this pull request May 24, 2023
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Content-Type paramater does not trim paramater name
4 participants