DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32647>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32647 Summary: StringIndexOutOfBounds in DirectoryIndexGenerator for non-default scope Product: Slide Version: Nightly Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: WebDAV Server AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm seeing the following exception when I browse a directory and the "scope" init param in web.xml is not the empty string. java.lang.StringIndexOutOfBoundsException: String index out of range: -10 at java.lang.String.substring(String.java:1444) at java.lang.String.substring(String.java:1411) at org.apache.slide.webdav.util.WebdavUtils.getAbsolutePath(WebdavUtils.java:277) at org.apache.slide.webdav.util.WebdavUtils.getAbsolutePath(WebdavUtils.java:253) at org.apache.slide.webdav.util.DirectoryIndexGenerator.generate(DirectoryIndexGenerator.java:203) at org.apache.slide.webdav.method.GetMethod.displayDirectory(GetMethod.java:142) at org.apache.slide.webdav.method.GetMethod.executeRequest(GetMethod.java:238) at org.apache.slide.webdav.method.AbstractWebdavMethod.executeRedirect(AbstractWebdavMethod.java:576) at org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:420) at org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:151) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) DirectoryIndexGenerator.java:203 calls WebdavUtils.getAbsolutePath with a URI of "". It should be 'scope'. Trivial patch attached. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
