Commit 4c144eae authored by tinytm's avatar tinytm

- TinyTM fixes

parent a409e8ed
...@@ -2775,6 +2775,8 @@ ad_proc -public util_current_location {{}} { ...@@ -2775,6 +2775,8 @@ ad_proc -public util_current_location {{}} {
} }
} }
ns_log Notice "util_current_location: Host=$Host, port=$port"
# HTTP port - straight return # HTTP port - straight return
if { ![empty_string_p $port] && [string equal $port 80]} { if { ![empty_string_p $port] && [string equal $port 80]} {
return "$proto://$hostname" return "$proto://$hostname"
...@@ -2787,7 +2789,8 @@ ad_proc -public util_current_location {{}} { ...@@ -2787,7 +2789,8 @@ ad_proc -public util_current_location {{}} {
} }
if { ![empty_string_p $port]} { if { ![empty_string_p $port]} {
return "$proto://$hostname:$port" # ns_log Notice "util_current_location: returning 1: Host=$Host, port=$port"
return "$proto://$hostname"
} else { } else {
return "$proto://$hostname" return "$proto://$hostname"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment