JAL-1725 fix for redirect of POST to GET, debug output removed
[jalview.git] / src / jalview / httpserver / HttpServer.java
index d39ada1..6f4aa75 100644 (file)
@@ -196,6 +196,7 @@ public class HttpServer
   {
     // http://stackoverflow.com/questions/20043097/jetty-9-embedded-adding-handlers-during-runtime
     ContextHandler ch = new ContextHandler();
+    ch.setAllowNullPathInfo(true);
     ch.setContextPath("/" + path);
     ch.setResourceBase(".");
     ch.setClassLoader(Thread.currentThread()