Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Bug in PathMap

I think.

Got hit with a StringIndexOutOfBounds something.

Tracked it to line 404 (yeah, really) in PathMap:

char c = pathSpec.charAt(0);

Since Servlet spec 3.0, empty strings "" matches on the context root. I had a filter defined with urlPatterns={""}.

I can‘t quite figure out the validity of matching filters to context root, since I’ve seen similar reports from WebSphere and Glassfish, but regardless, the error message should be better then.


Back to the top