[Tickets #8515] Switching http protocols during session breaks URL generation.

bugs at horde.org bugs at horde.org
Fri Aug 21 00:57:33 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8515
------------------------------------------------------------------------------
  Ticket             | 8515
  Created By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Switching http protocols during session breaks URL
                     | generation.
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Horde Developers
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2009-08-20 20:57) wrote:

Switching from https -> http or the reverse causes full url generation  
to break:

The default value for $conf[server][port] is $_SERVER[SERVER_PORT], so  
once you login under https the value is set to 443. If you then switch  
protocols, since the config is cached in the session, that value is  
now wrong.

Not sure of the correct fix, but I'm thinking maybe we need to set the  
value of conf[server][port] on every page load in  
Registry::importConfig()?






More information about the bugs mailing list