Commit 873a5f98 authored by Dele Olajide's avatar Dele Olajide

OF-709: Somewhere between my initial commit, Flow's squashing and the code...

OF-709: Somewhere between my initial commit, Flow's squashing and the code review, this code change was dropped. It is required to enable access to http-bind root folder for static web pages.
parent 2ad60199
......@@ -536,7 +536,7 @@ public final class HttpBindManager {
}
createBoshHandler(contexts, "/http-bind");
createCrossDomainHandler(contexts, "/");
createCrossDomainHandler(contexts, "/crossdomain.xml");
loadStaticDirectory(contexts);
HandlerCollection collection = new HandlerCollection();
......@@ -553,7 +553,7 @@ public final class HttpBindManager {
private void createCrossDomainHandler(ContextHandlerCollection contexts, String crossPath)
{
ServletContextHandler context = new ServletContextHandler(contexts, crossPath, ServletContextHandler.SESSIONS);
context.addServlet(new ServletHolder(new FlashCrossDomainServlet()),"/crossdomain.xml");
context.addServlet(new ServletHolder(new FlashCrossDomainServlet()),"");
}
private void loadStaticDirectory(ContextHandlerCollection contexts) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment