mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
merge with branch issue-97
This commit is contained in:
@@ -95,6 +95,9 @@ public class HgCGIServlet extends HttpServlet
|
||||
/** Field description */
|
||||
public static final String ENV_URL = "SCM_URL";
|
||||
|
||||
/** Field description */
|
||||
public static final String SCM_CREDENTIALS = "SCM_CREDENTIALS";
|
||||
|
||||
/** Field description */
|
||||
private static final long serialVersionUID = -3492811300905099810L;
|
||||
|
||||
@@ -200,6 +203,12 @@ public class HgCGIServlet extends HttpServlet
|
||||
env.set(key, session.getAttribute(key).toString());
|
||||
}
|
||||
}
|
||||
|
||||
// issue-97
|
||||
if (!env.containsKey(SCM_CREDENTIALS))
|
||||
{
|
||||
env.set(SCM_CREDENTIALS, Util.EMPTY_STRING);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user