Closed weierophinney closed 3 years ago
@ozanakman sure, please submit PR. Thanks!
Originally posted by @michalbundyra at https://github.com/zendframework/zend-mime/issues/40#issuecomment-549858385
This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself
If you are looking for an actively maintained package alternative, we recommend:
According to https://tools.ietf.org/html/rfc5322, the following email address example is completely ok:
"Some Name" <email@address.com>
But when you pass this value to Zend\Mime\Decoder::splitHeaderField(); it returns a wrong value because of a logical bug in the code (Line #181, the condition is not correct for all cases):
Expected results
"Some Name" <email@address.com>
Actual results
"Some Name" <email@address.com
So, in the actual result, the last character is missing.
I would like to create a merge request with valid tests if you think this should be fixed.
Originally posted by @ozanakman at https://github.com/zendframework/zend-mime/issues/40