Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
Openfire
Commits
41120b0d
Commit
41120b0d
authored
7 years ago
by
Guus der Kinderen
Committed by
daryl herzmann
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-1367: Use FQDN instead of XMPP domain name for BOSH URL. (#845)
parent
a6437046
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HttpBindManager.java
src/java/org/jivesoftware/openfire/http/HttpBindManager.java
+3
-3
No files found.
src/java/org/jivesoftware/openfire/http/HttpBindManager.java
View file @
41120b0d
...
@@ -423,15 +423,15 @@ public final class HttpBindManager implements CertificateEventListener, Property
...
@@ -423,15 +423,15 @@ public final class HttpBindManager implements CertificateEventListener, Property
}
}
public
String
getHttpBindUnsecureAddress
()
{
public
String
getHttpBindUnsecureAddress
()
{
return
"http://"
+
XMPPServer
.
getInstance
().
getServerInfo
().
get
XMPPDomain
()
+
":"
+
getHttpBindUnsecurePort
()
+
"/http-bind/"
;
return
"http://"
+
XMPPServer
.
getInstance
().
getServerInfo
().
get
Hostname
()
+
":"
+
getHttpBindUnsecurePort
()
+
"/http-bind/"
;
}
}
public
String
getHttpBindSecureAddress
()
{
public
String
getHttpBindSecureAddress
()
{
return
"https://"
+
XMPPServer
.
getInstance
().
getServerInfo
().
get
XMPPDomain
()
+
":"
+
getHttpBindSecurePort
()
+
"/http-bind/"
;
return
"https://"
+
XMPPServer
.
getInstance
().
getServerInfo
().
get
Hostname
()
+
":"
+
getHttpBindSecurePort
()
+
"/http-bind/"
;
}
}
public
String
getJavaScriptUrl
()
{
public
String
getJavaScriptUrl
()
{
return
"http://"
+
XMPPServer
.
getInstance
().
getServerInfo
().
get
XMPPDomain
()
+
":"
+
getHttpBindUnsecurePort
()
+
"/scripts/"
;
return
"http://"
+
XMPPServer
.
getInstance
().
getServerInfo
().
get
Hostname
()
+
":"
+
getHttpBindUnsecurePort
()
+
"/scripts/"
;
}
}
// http binding CORS support start
// http binding CORS support start
...
...
This diff is collapsed.
Click to expand it.
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