Issue #1229 - ClassLoader constraint issue when using NativeWebSocketConfiguration with WEB-INF/lib/jetty-http.jar present.
Guarded against NPE.
This commit is contained in:
parent
51f68dc57e
commit
9653d74cae
|
@ -24,6 +24,8 @@ public class ServletPathSpec extends PathSpec
|
|||
{
|
||||
public ServletPathSpec(String servletPathSpec)
|
||||
{
|
||||
if (servletPathSpec == null)
|
||||
servletPathSpec = "";
|
||||
if (servletPathSpec.startsWith("servlet|"))
|
||||
servletPathSpec = servletPathSpec.substring("servlet|".length());
|
||||
assertValidServletPathSpec(servletPathSpec);
|
||||
|
|
Loading…
Reference in New Issue