Merged branch 'jetty-9.4.x' into 'master'.

This commit is contained in:
Simone Bordet 2017-01-20 15:43:01 +01:00
commit db3b0550a2
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,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);