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=29250>. 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=29250 ------- Additional Comments From [EMAIL PROTECTED] 2005-10-02 11:26 ------- I've tripped over this one too, trying to get an ls from an apache mod_webdav enabled server. Here's a fix to this problem: In WebdavResources.java in the setWebdavProperties(Enumeration responses) method after String myURI = httpURL.getEscapedURI(); do the following: // 1. get the current href into a variable you can mess around with: String helperHref = href; // 2. check if it ends with a trailing slash if (helperHref.endsWith("/")) { helperHref = helperHref.substring(0, helperHref.length()-1); } // 3. use the "fixed" helperHref in the next step char[] childURI = (myURI + (myURI.endsWith("/") ? "" : "/") + URIUtil.getName(helperHref)).toCharArray(); Now if one of the slied committers could verify this fix and (if considerd o.k.) check it in, then this bug could be closed. Cheers, Will -- 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]