Browse Source

get the properties of the file, not the directory

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@596 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.2
Jan Kneschke 17 years ago
parent
commit
b3cbfab0e1
  1. 2
      src/mod_webdav.c

2
src/mod_webdav.c

@ -717,7 +717,7 @@ static int webdav_get_live_property(server *srv, connection *con, plugin_data *p
if (ds->key->used == 0) continue;
if (buffer_is_equal_right_len(p->tmp_buf, ds->key, ds->key->used - 1)) {
if (buffer_is_equal_right_len(dst->path, ds->key, ds->key->used - 1)) {
buffer_append_string(b,"<D:getcontenttype>");
buffer_append_string_buffer(b, ds->value);
buffer_append_string(b, "</D:getcontenttype>");

Loading…
Cancel
Save