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=29737>. 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=29737 href url not compared to not escaped url in WebdavResource.java Summary: href url not compared to not escaped url in WebdavResource.java Product: Slide Version: 2.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: WebDAV client AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In this method the url of href is not compared to the not escaped path of the httpURL. microsoft webserver returns the url in not escaped form, so itself is not determined correctley (remains false if the resource is the good one). protected void setWebdavProperties(Enumeration responses) throws HttpException, IOException { ... String httpURLPath = httpURL.getEscapedPath(); int compared = httpURLPath.compareTo(href); // Compare with the href path and requested-path itself. if (compared == 0 || (compared == -1 && href.endsWith("/")) || (compared == 1 && httpURLPath.endsWith("/"))) { // Set the status code for this resource. if (response.getStatusCode() > 0) setStatusCode(response.getStatusCode()); setExistence(true); itself = true; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
