davfs2 has problems with MS IIS 7.5 WebDAV server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
davfs2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
davfs2 doesn't work with Microsoft's IIS 7.5 WebDAV implementation, because davfs2 requires the extra translate:f header to be added.
This is not just for MS's implementation, other WebDAV servers apparently added it too.
https:/
https:/
The docs say that IF the client doesn't send the header, the server should send back a URI to the resource, like a redirect, at least I think so.
But, MS's implementation doesn't. Instead it just returns a "server error 500".
This happens to me ONLY with files that have no extension.
Example: I can get "readme.txt",but I can't get a file called "config" (eg the config file in a .git folder).
It worked on Windows 10, so I used Burp Suite to inspect the HTTPS comms with the server and discovered the translate header. I tested with curl and sure enough it worked with the header.
curl -H "translate: f" --insecure --proxy 127.0.0.1:8080 --user "user:pass" https:/
WORKED
Without the -H "translate: f", the curl call did not work.
The translate header seems to be added to just about every call to the WebDAV server, except HEAD.
I also made an additional patch for libneon as it has its own functions for building the requests. I don't think this affects davfs2, however for reference, the bug report is here:
https:/
Attached is a patch that fixes up davfs2.
Changed in davfs2 (Ubuntu): | |
status: | New → Incomplete |
The attachment "patch to add translate:f header to davfs2" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]