mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
pass shell environment to mercurial cgi process
This commit is contained in:
@@ -271,6 +271,8 @@ public class HgCGIServlet extends HttpServlet
|
||||
CGIExecutor executor = cgiExecutorFactory.createExecutor(configuration,
|
||||
getServletContext(), request, response);
|
||||
|
||||
// issue #155
|
||||
executor.setPassShellEnvironment(true);
|
||||
executor.setExceptionHandler(exceptionHandler);
|
||||
executor.setStatusCodeHandler(exceptionHandler);
|
||||
executor.setContentLengthWorkaround(true);
|
||||
|
||||
Reference in New Issue
Block a user