mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
context path can be empty, so a better rendering is needed.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23429 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
65b3484e6c
commit
e168daa5fc
1 file changed
+1
-1
@@ -127,7 +127,7 @@ public class DoubleLaunchChecker {
|
||||
String contextPath="";
|
||||
try {
|
||||
Method m = ServletContext.class.getMethod("getContextPath");
|
||||
contextPath=(String)m.invoke(h.servletContext);
|
||||
contextPath=" contextPath=\""+m.invoke(h.servletContext)+"\"";
|
||||
} catch (Exception e) {
|
||||
// maybe running with Servlet 2.4
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user