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
362bba6b
Commit
362bba6b
authored
Aug 25, 2016
by
Roman Soldatow
Committed by
akrherz
Oct 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-1180: BOSH endpoints redirect all the requests with the trailing slash
parent
bd55f4d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
HttpBindManager.java
src/java/org/jivesoftware/openfire/http/HttpBindManager.java
+2
-0
No files found.
src/java/org/jivesoftware/openfire/http/HttpBindManager.java
View file @
362bba6b
...
@@ -547,6 +547,7 @@ public final class HttpBindManager {
...
@@ -547,6 +547,7 @@ public final class HttpBindManager {
initializers
.
add
(
new
ContainerInitializer
(
new
JettyJasperInitializer
(),
null
));
initializers
.
add
(
new
ContainerInitializer
(
new
JettyJasperInitializer
(),
null
));
context
.
setAttribute
(
"org.eclipse.jetty.containerInitializers"
,
initializers
);
context
.
setAttribute
(
"org.eclipse.jetty.containerInitializers"
,
initializers
);
context
.
setAttribute
(
InstanceManager
.
class
.
getName
(),
new
SimpleInstanceManager
());
context
.
setAttribute
(
InstanceManager
.
class
.
getName
(),
new
SimpleInstanceManager
());
context
.
setAllowNullPathInfo
(
true
);
context
.
addServlet
(
new
ServletHolder
(
new
HttpBindServlet
()),
"/*"
);
context
.
addServlet
(
new
ServletHolder
(
new
HttpBindServlet
()),
"/*"
);
if
(
isHttpCompressionEnabled
())
{
if
(
isHttpCompressionEnabled
())
{
Filter
gzipFilter
=
new
AsyncGzipFilter
()
{
Filter
gzipFilter
=
new
AsyncGzipFilter
()
{
...
@@ -578,6 +579,7 @@ public final class HttpBindManager {
...
@@ -578,6 +579,7 @@ public final class HttpBindManager {
initializers
.
add
(
new
ContainerInitializer
(
new
JettyJasperInitializer
(),
null
));
initializers
.
add
(
new
ContainerInitializer
(
new
JettyJasperInitializer
(),
null
));
context
.
setAttribute
(
"org.eclipse.jetty.containerInitializers"
,
initializers
);
context
.
setAttribute
(
"org.eclipse.jetty.containerInitializers"
,
initializers
);
context
.
setAttribute
(
InstanceManager
.
class
.
getName
(),
new
SimpleInstanceManager
());
context
.
setAttribute
(
InstanceManager
.
class
.
getName
(),
new
SimpleInstanceManager
());
context
.
setAllowNullPathInfo
(
true
);
context
.
addServlet
(
new
ServletHolder
(
new
FlashCrossDomainServlet
()),
""
);
context
.
addServlet
(
new
ServletHolder
(
new
FlashCrossDomainServlet
()),
""
);
}
}
...
...
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