72178d74 by Ean Schuessler

Merge branch 'BF-2757' of /home/git/repositories/brainfood/ofbiz-directcontrolservlet

2 parents 6235725a 0c9488ab
......@@ -119,7 +119,6 @@ public class DirectControlServlet extends HttpServlet {
Debug.logInfo("PARAMETERS: " + paramList, module);
// Handle if this is a form post
String contentType = request.getContentType();
if (contentType != null && contentType.indexOf("x-www-form-urlencoded") != -1) {
method = request.getParameter("_method");
String httpMethod = request.getMethod();
if (method == null && httpMethod != null) method = httpMethod;
......@@ -146,9 +145,6 @@ public class DirectControlServlet extends HttpServlet {
}
}
}
} else {
Debug.logInfo("Unsupported form encoding", module);
}
// If there is a mapping for this pathInfo, run the corresponding service
// otherwise, return an error
......