diff options
author | Mark Wells <mark@freeside.biz> | 2016-12-14 13:00:24 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-12-14 13:00:24 -0800 |
commit | e031448c5911bd58dcf5daacae6c6755648fec5a (patch) | |
tree | 544de852fd0dc1a2357cfa8c6f1305789842167a /httemplate/search | |
parent | 75ab0df930bcbf5173cdda2ce7704fdcf09d9d39 (diff) |
fix parsing of multiple To: addresses, #73241
Diffstat (limited to 'httemplate/search')
-rw-r--r-- | httemplate/search/cust_msg.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/search/cust_msg.html b/httemplate/search/cust_msg.html index 2e1f75c81..fdb72a503 100644 --- a/httemplate/search/cust_msg.html +++ b/httemplate/search/cust_msg.html @@ -19,7 +19,10 @@ ucfirst($_[0]->msgtype) || $_[0]->msgname }, sub { - join('<BR>', split(/,\s*/, $_[0]->env_to) ) + join('<BR>', + map { encode_entities($_->format) } + Email::Address->parse($_[0]->env_to) + ) }, 'status', sub { encode_entities($_[0]->error) }, |