ASF Bugzilla – Attachment 21461 Details for
Bug 44337
Dir listing crashes if no readme-file present
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to DefaultServlet.java
bz-44337.patch (text/plain), 1.00 KB, created by
Tim Funk
on 2008-02-02 10:34:59 UTC
(
hide
)
Description:
Patch to DefaultServlet.java
Filename:
MIME Type:
Creator:
Tim Funk
Created:
2008-02-02 10:34:59 UTC
Size:
1.00 KB
patch
obsolete
>Index: java/org/apache/catalina/servlets/DefaultServlet.java >=================================================================== >--- java/org/apache/catalina/servlets/DefaultServlet.java (revision 617852) >+++ java/org/apache/catalina/servlets/DefaultServlet.java (working copy) >@@ -1415,7 +1415,10 @@ > return buffer.toString(); > } > } catch (NamingException e) { >- throw new ServletException("Error opening readme resource", e); >+ if (debug > 10) >+ log("readme '" + readmeFile + "' not found", e); >+ >+ return null; > } > } > >@@ -1438,7 +1441,10 @@ > return is; > } > } catch (NamingException e) { >- throw new ServletException("Error opening XSLT resource", e); >+ if (debug > 10) >+ log("localXsltFile '" + localXsltFile + "' not found", e); >+ >+ return null; > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44337
: 21461