Opened 6 years ago

Closed 6 years ago

#1484247 closed Bugs (fixed)

Email Addresses Incorrectly Parsed

Reported by: sincewednesday Owned by:
Priority: 5 Milestone: 0.1-rc1
Component: Interface Version: 0.1-beta
Severity: normal Keywords:
Cc:

Description

When an email address is of the form:

John Doe<john.doe@…>

(missing space between name and "<"), the address is misparsed and displayed as

NAME = John

EMAIL = Doejohn.doe@…

A quick fix in "program/include/rcube_imap.inc" "_parse_address_list is to change:

$val = str_replace("\"<", "\" <", $val);

to:

$val = preg_replace("/([\"\w])</", "$1 <", $val);

Change History (1)

comment:1 Changed 6 years ago by thomasb

  • Milestone set to 0.1-rc1
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from svn-trunk to 0.1-beta

Fixed in Trunk ([568ba395])

Note: See TracTickets for help on using tickets.