[Tickets #676] NEW: colons in config/header.txt

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Oct 8 00:42:56 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=676
-----------------------------------------------------------------------
 Ticket     | 676
 Created By | tpeland at tkukoulu.fi
 Summary    | colons in config/header.txt
 Queue      | IMP
 Version    | 3.2.6
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


tpeland at tkukoulu.fi (2004-10-08 00:42) wrote:

When using ipv6 and header.txt like this:
   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, ':', '_');





More information about the bugs mailing list