[horde] Horde CVS: Problem in lib/Horde.lib

Jan Schneider jan at horde.org
Thu Nov 29 05:11:36 PST 2001


Zitat von Barry Flanagan <barryf-imp at digiserve.ie>:

> On line 285, a recent change made to address my wish to have the port
> problem sorted out, the line reads:
> 
>     if (($registry->getParam('server_port') != 80) &&
> ($registry->getParam('server_port') != 443))
> 
> Which is ALWAYS going to be true, because the port can't be both 80 AND
> 443 - surely this should be || or?

Fixed in cvs.
 
> In any event, even changing it to ||, and making server_port => 80 in the
> Registry, the $server seems to always 
> have the  :port appended - works but is ugly in the URL and is
> un-necessary. Can't figure out why it is appearing.

I can't see it here. Setting server_port to 80 works without 
appending ':80' to the server string.
 
Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::




More information about the horde mailing list