Index: openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl,v diff -u -N -r1.176 -r1.177 --- openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 14 Sep 2018 11:08:26 -0000 1.176 +++ openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 14 Sep 2018 17:59:51 -0000 1.177 @@ -1777,7 +1777,7 @@ return $result } -ad_proc -public util::configured_location {} { +ad_proc -public util::configured_location {{-suppress_port:boolean}} { Return the configured location as configured for the current network driver. While [util_current_location] honors the virtual @@ -1796,7 +1796,7 @@ return [util::join_location \ -proto [dict get $driver_info proto] \ -hostname [dict get $driver_info hostname] \ - -port [dict get $driver_info port]] + -port [expr {$suppress_port_p ? "" : [dict get $driver_info port]}]] } ad_proc -public util_current_location {} {