d58580c3 by Adam Heath

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

2 parents 11f2b42c f18873ca
......@@ -424,6 +424,10 @@ public class DirectControlServlet extends HttpServlet {
Debug.logInfo("USERLOGIN " + context.get("userLogin") + " AUTHTOKEN " + authToken, module);
context.put("httpHostname", request.getHeader("Host"));
context.put("httpProtocol", request.getProtocol());
context.put("httpScheme", request.getScheme());
DispatchContext dctx = dispatcher.getDispatchContext();
ModelService model = dctx.getModelService(serviceName);
......