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
69585cf8
Commit
69585cf8
authored
Oct 20, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added a https:// for connections coming from 443 https
parent
00c044c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
utilities-procs.tcl
tcl/utilities-procs.tcl
+12
-1
No files found.
tcl/utilities-procs.tcl
View file @
69585cf8
...
@@ -2775,7 +2775,18 @@ ad_proc -public util_current_location {{}} {
...
@@ -2775,7 +2775,18 @@ ad_proc -public util_current_location {{}} {
}
}
}
}
if
{
!
[
empty_string_p
$port
]
&& !
[
string
equal
$port
80
]
&& !
[
string
equal
$port
443
]}
{
# HTTP port - straight return
if
{
!
[
empty_string_p
$port
]
&&
[
string
equal
$port
80
]}
{
return
"
$proto:
//
$hostname
"
}
# HTTPS port - replace the proto
# HTTPS will only be possible on port 443 though...
if
{
!
[
empty_string_p
$port
]
&&
[
string
equal
$port
443
]}
{
return
"https://
$hostname
"
}
if
{
!
[
empty_string_p
$port
]}
{
return
"
$proto:
//
$hostname:$port
"
return
"
$proto:
//
$hostname:$port
"
}
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