[Tickets #1339] NEW: HTTP_HOST

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Feb 9 02:51:21 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1339
-----------------------------------------------------------------------
 Ticket     | 1339
 Created By | john at oztralis.com.au
 Summary    | HTTP_HOST
 Queue      | Horde Base
 Version    | 3.0.2
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


john at oztralis.com.au (2005-02-09 02:51) wrote:

when $_SERVER['HTTP_HOST'] contains a port number, authentication fails
against imap accounts using the format ${user}@${HTTP_HOST}

I believe HTTP_HOST should _always_ be parsed for host:port and only use the
host part....

This becomes a problem when using reverse proxies, which always add the port
number explicitly, even when connecting to port 80, eg:

GET / HTTP/1.1
Host: hostname:80

Kind Regards,

John




More information about the bugs mailing list