Opened 5 years ago
Closed 5 years ago
#1484884 closed Bugs (duplicate)
format_email_recipient() does not escape names properly, fails with perl's Email::Valid
| Reported by: | vdboor | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.1.1 |
| Component: | Core functionality | Version: | 0.1-stable |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I'm implementing a vacation handler which uses vacation.pl from postfixadmin. This checks for valid e-mail addresses using the Email::Valid module. This module fails with some strings generated by format_email_recipient(). For example, a string like: OrgName[your full name] <my@orgname.tld> is not quoted at all.
Change History (3)
comment:1 Changed 5 years ago by vdboor
comment:2 Changed 5 years ago by thomasb
- Milestone changed from 0.1.1 to later
comment:3 Changed 5 years ago by thomasb
- Milestone changed from later to 0.1.1
- Resolution set to duplicate
- Status changed from new to closed
Should be solved with changes in #1483999. Mark as duplicate
Note: See
TracTickets for help on using
tickets.

Just checked out the SquirrelMail? source, it re-uses it's encodeHeader function which returns it as quoted-printable (RFC 1522).