[bugs] [Bug 1141] New - port 443 and http protocol errors

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Jan 3 16:19:37 PST 2003


http://bugs.horde.org/show_bug.cgi?id=1141

*** shadow/1141	Fri Jan  3 16:19:36 2003
--- shadow/1141.tmp.13282	Fri Jan  3 16:19:36 2003
***************
*** 0 ****
--- 1,31 ----
+ Bug#: 1141
+ Product: Horde
+ Version: 2.1 Unstable
+ Platform: PHP Code
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: Core
+ Area: BUILD
+ AssignedTo: chuck at horde.org                            
+ ReportedBy: s.sheep at feakes.cc               
+ URL: 
+ Summary: port 443 and http protocol errors
+ 
+ When using port 443 and http protocol.  ( not using https protocol )
+ There are lot's of page redirects that fail.
+ 
+ Tracked the bug down to this line of code in Horde.php
+ Line 300
+ 
+ if ($server_port != 80 || $server_port != 443) {
+                 $server_name .= ':' . $server_port;
+             }
+ 
+ Change to below, to fix bug
+ 
+ if ($server_port != 80 || ( $server_port == 443 && $protocol != 'https'  ) ) {
+                 $server_name .= ':' . $server_port;
+             }


More information about the bugs mailing list