privatefinallongsoftKillWaitSeconds=Integer.getInteger("SoftKillWaitSeconds",2*60);// by default processes get at most 2 minutes to respond to SIGTERM (JENKINS-17116)
/**
* The time to wait between sending Ctrl+C and killing the process. (JENKINS-17116)
*
* The default is 5 seconds. Careful! There are other timers in the system that may
* interfere with this value here, e.g. in org.jenkinsci.plugins.workflow.cps.CpsThread.stop
r.createWebClient().goTo("plugin/credentials/images/../images/24x24/credentials.png","image/png");// collapsed somewhere before it winds up in restOfPath
r.createWebClient().assertFails("plugin/credentials/images/%2E%2E/images/24x24/credentials.png",HttpServletResponse.SC_INTERNAL_SERVER_ERROR);// IAE from TokenList.<init>
r.createWebClient().assertFails("plugin/credentials/images/%25252E%25252E/images/24x24/credentials.png",HttpServletResponse.SC_BAD_REQUEST);// just checking
r.createWebClient().goTo("plugin/matrix-auth/images/../images/user-disabled.png","image/png");// collapsed somewhere before it winds up in restOfPath
r.createWebClient().assertFails("plugin/matrix-auth/images/%2E%2E/images/user-disabled.png",HttpServletResponse.SC_INTERNAL_SERVER_ERROR);// IAE from TokenList.<init>
r.createWebClient().assertFails("plugin/matrix-auth/images/%25252E%25252E/images/user-disabled.png",HttpServletResponse.SC_BAD_REQUEST);// just checking
r.createWebClient().assertFails("plugin/credentials/./credentials.jpi",/* Path collapsed to simply `credentials.jpi` before entering */HttpServletResponse.SC_NOT_FOUND);
r.createWebClient().assertFails("plugin/matrix-auth/./matrix-auth.jpi",/* Path collapsed to simply `credentials.jpi` before entering */HttpServletResponse.SC_NOT_FOUND);