Headers::fromString
strips local part quotes which turns it into invalid dot-atom format
#250
Labels
Bug
Something isn't working
Bug Report
Version 2.34
Summary
When passing a valid E-Mail Headers part to the
Headers#fromString
method, an exception is thrown due to the fact thatAbstractAddressList#fromString
is stripping quotes fromFrom
E-Mail local-part.Current behavior
Reproduction
By removing the quotes from the E-Mail localpart, the local part becomes invalid from a validation PoV.
Expected behavior
The local part of an address is not modified when passing headers via
Headers::fromString
.The text was updated successfully, but these errors were encountered: