Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-tcl
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-tcl
Commits
4c144eae
Commit
4c144eae
authored
Apr 20, 2008
by
tinytm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- TinyTM fixes
parent
a409e8ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
utilities-procs.tcl
tcl/utilities-procs.tcl
+4
-1
No files found.
tcl/utilities-procs.tcl
View file @
4c144eae
...
@@ -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
"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment