dav4rack icon indicating copy to clipboard operation
dav4rack copied to clipboard

Fix propfind for microsoft web redirector

Open timon opened this issue 12 years ago • 2 comments

I've made a patch that makes dav4rack actually usable with microsoft windows webdav mini redirector — tested it with Windows 8.

The only caveeat is that suburi still can not be used. Windows thinks, that every uri from site root should talk webdav (I overcame this by injecting middleware that fakes PROPFIND / to return suburi as child collection)

timon avatar Mar 12 '13 14:03 timon

dav4rack provides a piece of middleware for rack called interceptor that will catch propfinds to non-existent parent paths. It was built intentionally for interactions with webdav on MS. Can you give that a try and see if it resolves the issue you are running into. The README file has an example of its usage. I think that the changes made here may unintentionally break the spec.

chrisroberts avatar Mar 12 '13 14:03 chrisroberts

The code from Timon fixes mounting as a network drive in Windows 7, but brakes Mac OS X and iOS clients..

My CustomResource overloads root by adding a user specific directory to the path. I'm not doing anything else except authentication.

andruby avatar Jul 10 '13 10:07 andruby