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 PROPFIND response does not handle trailing "/" as it "SHOULD" Summary: PROPFIND response does not handle trailing "/" as it "SHOULD" Product: Slide Version: 2.0 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: WebDAV Server AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] PROPFIND response does not handle trailing "/" as it "SHOULD" according to RFC 2518: There is a standing convention that when a collection is referred to by its name without a trailing slash, the trailing slash is automatically appended. Due to this, a resource may accept a URI without a trailing "/" to point to a collection. In this case it SHOULD return a content-location header in the response pointing to the URI ending with the "/". For example, if a client invokes a method on http://foo.bar/blah (no trailing slash), the resource http://foo.bar/blah/ (trailing slash) may respond as if the operation were invoked on it, and should return a content-location header with http://foo.bar/blah/ in it. In general clients SHOULD use the "/" form of collection names. HTTP/1.1 207 Multi-Status Content-Type: text/xml;charset=UTF-8 Transfer-Encoding: chunked Date: Wed, 26 May 2004 17:58:52 GMT Server: Apache-Coyote/1.1 <D:response xmlns:D="DAV:"> <D:href>/slide/files/folder-1932954899/folderC</D:href> <D:propstat> <D:prop> <D:creationdate>2004-05-26T17:58:49Z</D:creationdate> <D:displayname>folderC</D:displayname> <D:source></D:source> <D:lockdiscovery></D:lockdiscovery> <D:supportedlock> <D:lockentry> <D:lockscope> <D:exclusive></D:exclusive> </D:lockscope> <D:locktype> <D:write></D:write> </D:locktype> </D:lockentry> <D:lockentry> <D:lockscope> <D:shared></D:shared> </D:lockscope> <D:locktype> <D:write></D:write> </D:locktype> </D:lockentry> </D:supportedlock> <D:getlastmodified>Wed, 26 May 2004 17:58:49 GMT</D:getlastmodified> <D:getcontentlength>0</D:getcontentlength> <D:modificationdate>2004-05-26T17:58:51Z</D:modificationdate> <D:resourcetype> <D:collection></D:collection> </D:resourcetype> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response xmlns:D="DAV:"> <D:href>/slide/files/folder-1932954899/folderC/folderE</D:href> <D:propstat> <D:prop> <D:creationdate>2004-05-26T17:58:51Z</D:creationdate> <D:displayname>folderE</D:displayname> <D:source></D:source> <D:lockdiscovery></D:lockdiscovery> <D:supportedlock> <D:lockentry> <D:lockscope> <D:exclusive></D:exclusive> </D:lockscope> <D:locktype> <D:write></D:write> </D:locktype> </D:lockentry> <D:lockentry> <D:lockscope> <D:shared></D:shared> </D:lockscope> <D:locktype> <D:write></D:write> </D:locktype> </D:lockentry> </D:supportedlock> <D:getlastmodified>Wed, 26 May 2004 17:58:51 GMT</D:getlastmodified> <D:getcontentlength>0</D:getcontentlength> <D:modificationdate>2004-05-26T17:58:51Z</D:modificationdate> <D:resourcetype> <D:collection></D:collection> </D:resourcetype> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> <D:response xmlns:D="DAV:"> <D:href>/slide/files/folder-1932954899/folderC/folderD</D:href> <D:propstat> <D:prop> <D:creationdate>2004-05-26T17:58:50Z</D:creationdate> <D:displayname>folderD</D:displayname> <D:source></D:source> <D:lockdiscovery></D:lockdiscovery> <D:supportedlock> <D:lockentry> <D:lockscope> <D:exclusive></D:exclusive> </D:lockscope> <D:locktype> <D:write></D:write> </D:locktype> </D:lockentry> <D:lockentry> <D:lockscope> <D:shared></D:shared> </D:lockscope> <D:locktype> <D:write></D:write> </D:locktype> </D:lockentry> </D:supportedlock> <D:getlastmodified>Wed, 26 May 2004 17:58:50 GMT</D:getlastmodified> <D:getcontentlength>0</D:getcontentlength> <D:modificationdate>2004-05-26T17:58:50Z</D:modificationdate> <D:resourcetype> <D:collection></D:collection> </D:resourcetype> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> The folder names of the <D:href> elements "SHOULD" therefore end with a trailing "/". --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
