Skip to content
Snippets Groups Projects
Commit 7b241c71 authored by Jared Hancock's avatar Jared Hancock
Browse files

Properly detect and handle empty address lists

The mainly comes in when a MIME header which might contain a list of email
addresses (like Reply-To) is to be parsed, but is empty. The Mail_RFC822
class would return an empty mailbox @ localhost (where 'localhost' is the
default default_domain for mail address list parsing).
parent a7286221
No related branches found
No related tags found
No related merge requests found
......@@ -264,6 +264,8 @@ class Mail_Parse {
}
function parseAddressList($address){
if (!$address)
return false;
return Mail_RFC822::parseAddressList($address, null, null,false);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment