I've reported it here: https://savannah.nongnu.org/support/index.php?110254
On Sat, 27 Jun 2020 at 14:10, Woodrow Shen <[email protected]> wrote: > Hi edice, > > Can you please report to this bug / patch to upstream > (https://savannah.nongnu.org/bugs/?group=davfs2) to have a better review > from the point of maintainers? > > Thanks. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1851326 > > Title: > davfs2 has problems with MS IIS 7.5 WebDAV server > > Status in davfs2 package in Ubuntu: > New > > 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://docs.oracle.com/cd/E19146-01/821-1828/gczya/index.html > > https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wdvse/501879f9-3875-4d7a-ab88-3cecab440034 > > 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://the.host.name/folder/project.git/config > 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://bugs.launchpad.net/ubuntu/+source/neon27/+bug/1851325 > > > Attached is a patch that fixes up davfs2. > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/1851326/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1851326 Title: davfs2 has problems with MS IIS 7.5 WebDAV server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/davfs2/+bug/1851326/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
