[horde] Horde SSL issue

Chuck Hagenbuch chuck at horde.org
Thu Aug 9 03:53:31 UTC 2007


Quoting Nathan Mills <nathan at nwacg.net>:

> It turns out that it only happens when you log in using regular HTTP  
> then switch to HTTPS by manually rewriting the URL in the location  
> bar, at least in the version I'm using on this server.
>
> I was very confused at first when I put in some logging to figure  
> out what was going on and it suddenly worked on login. :p
>
> What's happening is that somehow server_port is getting cached as  
> 80, but the $browser->usingSSLconnection call is returning true. I'm  
> betting that the config variables get cached when the session begins  
> or something along those lines, so $_SERVER['SERVER_PORT'] never  
> gets checked again.

That's it exactly. I think this shouldn't be a problem in general  
since people usually don't manually switch between http/https.

-chuck


More information about the horde mailing list