Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Leos Literak (literakl)
Assigned to: Nobody/Anonymous (nobody)
Summary: DefaultServlet in 5.1.3 serves WEB-INF and more
I have custom servlet that serves all URLs (mapped as
/). Jetty Default servlet is mapped to serve only
specified subdirectory (/images). That worked fine with
jetty 4.1, but is behaves strangely in jetty 5.1.3.
The specified directory looks like treated like prefix.
version real file working URL
4.1 images/logo.gif /images/logo.gif
5.1.3 images/logo.gif /images/images/logo.gif
If I open just /images URL in jetty 5.1.3, I see
content of the root
for my web application - including WEB-INF directory!
/images/WEB-INF is accessible!
I attach zip file with small webapp that demonstrates
this behaviour. Try to start it from jetty 4.1 (it
works fine) and from jetty 5.1.3.
(hmm, I cannot submit thisa bugreport. I will try