geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petr Sickboy Hejl (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-479) Root of WebApp Displays WEB-INF and META-INF Directories
Date Thu, 10 Feb 2005 21:29:13 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-479?page=comments#action_58966 ]
     
Petr Sickboy Hejl commented on GERONIMO-479:
--------------------------------------------

I tested this bug today with GERONIMO-569 (StackOverflow) patch by Greg Wilkins. Summary is:
1) when no welcome file is specified, server list out the content of app root directory (and
I'm not sure if this is incorrect..., someone who knows the specification could help?)
2) if user tries to access the WEB-INF or META-INF directory 404 is returned (so it is nice
and correct, isn't it?)

If the behaviour described in item 1) is correct, this issue should be closed.
I attach my test webapp ;)

> Root of WebApp Displays WEB-INF and META-INF Directories
> --------------------------------------------------------
>
>          Key: GERONIMO-479
>          URL: http://issues.apache.org/jira/browse/GERONIMO-479
>      Project: Apache Geronimo
>         Type: Bug
>   Components: web
>     Versions: 1.0-M3
>  Environment: WinXP, JDK 1.4.2
>     Reporter: Seth Ladd

>
> I deployed a simple webapp containing nothing more than a web.xml.  There is no welcome.jsp
configured or provided.
> The deploy was OK, but when I browse to http://localhost:8080/testbed I see a directory
listing, with the directories WEB-INF and META-INF listed.  This, itself, should not happen.
> When clicking on WEB-INF, I generate a StackOverflow.  I would expect a nice "Forbidden"
message, or even a 404 (or whatever the Servlet spec says).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message