Summary | colons in config/header.txt |
Queue | IMP |
Queue Version | 3.2.6 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | tpeland (at) tkukoulu (dot) fi |
Created | 10/08/2004 (7574 days ago) |
Due | |
Updated | 10/11/2004 (7571 days ago) |
Assigned | 10/08/2004 (7574 days ago) |
Resolved | 10/11/2004 (7571 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
break any RFC's (as long as the header definition is in the form
"HeaderName:<space>". This has been fixed in 3.x and HEAD.
email generated for this ticket:
Subject: [Tickets
#676] NEW: colons in config/header.txt(NEW:)
Assigned to Michael Slusarz
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ colons in config/header.txt
Queue ⇒ IMP
X-Originating-IP: %REMOTE_ADDR%
you get a header like
X-Originating-IP: 2002_c067_6202_8000_207_40ff_fe33_d78
instead of
X-Originating-IP: 2002:c067:6202:8000:207:40ff:fe33:d78
There is no good reason to strip the colons from the header.
The line to be removed is in lib/IMP.php line 1100
(CVS: lib/MIME/Headers.php, line 144)
$val = strtr($val, ':', '_');