After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338867 - wrong implementation of webDAV
wrong implementation of webDAV
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: (other)
2.14.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-18 08:13 UTC by Дилян Палаузов
Modified: 2006-07-13 15:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Дилян Палаузов 2006-04-18 08:13:59 UTC
Please describe the problem:
I want to make a webdav-enabled directory
(http://www.aegee.org/chair/presentations/agora), where everybody can upload
files, but only certain authenticated users can download them. To achive this in
httpd 2.2.0 I have the configuration 
<Limit GET DELETE>
        Require user "me"
</Limit>
Restricting GET in httpd means also restricting HEAD. This interpretation will
not be changed (http://issues.apache.org/bugzilla/show_bug.cgi?id=39323). And
now, when I try to upload a file, PROPFIND of that file give 404, since the file
does not exist. Then according to modules/http-neon-method.c, gnome-vfs fails
back to HEAD isntead of PROPFIND. However in my case HEAD is disable, but
PROPFIND is enabled, even if it returns not always 207, and I would like to have
the opportunity not to use HEAD

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Christian Kellner 2006-07-13 15:24:09 UTC
I have fixed this on cvs HEAD. We should now return a GNOME_VFS_ERROR_NOT_FOUND immediately if we receive a 404 for the PROPFIND. I thought that the server should return a 207 with and xml stating a 404 for the URL. I re-read the RFC and its not entirely clear about that. Anyway, I hope its fixed for you.