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
00c044c2
Commit
00c044c2
authored
Oct 19, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added a non-redirect clause when accessing via HTTPS
parent
3e4517ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
utilities-procs.tcl
tcl/utilities-procs.tcl
+1
-4
No files found.
tcl/utilities-procs.tcl
View file @
00c044c2
...
@@ -2730,9 +2730,6 @@ ad_proc -public util_current_location {{}} {
...
@@ -2730,9 +2730,6 @@ ad_proc -public util_current_location {{}} {
@author Lars Pind
(
lars@collaboraid.biz
)
@author Lars Pind
(
lars@collaboraid.biz
)
@author Peter Marklund
@author Peter Marklund
}
{
}
{
set default_port
(
http
)
80
set default_port
(
https
)
443
switch
[
ad_conn driver
]
{
switch
[
ad_conn driver
]
{
nssock
{
nssock
{
set proto http
set proto http
...
@@ -2778,7 +2775,7 @@ ad_proc -public util_current_location {{}} {
...
@@ -2778,7 +2775,7 @@ ad_proc -public util_current_location {{}} {
}
}
}
}
if
{
!
[
empty_string_p
$port
]
&& !
[
string
equal
$port
$default
_port
(
$proto
)]
}
{
if
{
!
[
empty_string_p
$port
]
&& !
[
string
equal
$port
80
]
&& !
[
string
equal
$port
443
]
}
{
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