nginx webdav list folder as a file #409

Closed
niphor opened this Issue Mar 14, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@niphor

niphor commented Mar 14, 2016

web.api.js#L162

using arut's nginx-dav-ext-module
folder has<D:resourcetype><D:collection/></D:resourcetype> element and contentlength >0

if (typeof dirList[entry]._namespaces["DAV:"].getcontentlength === 'undefined' ||
              dirList[entry]._namespaces["DAV:"].getcontentlength._xmlvalue.length === 0 ||
             (dirList[entry]._namespaces["DAV:"].resourcetype._xmlvalue.length === 1 && dirList[entry]._namespaces["DAV:"].resourcetype._xmlvalue[0].localName === 'collection')
            ) 

should work

@uggrock

This comment has been minimized.

Show comment
Hide comment
@uggrock

uggrock Mar 23, 2016

Member

We never tested TagSpaces with nginx, but we are accepting pull requests.

Member

uggrock commented Mar 23, 2016

We never tested TagSpaces with nginx, but we are accepting pull requests.

@uggrock uggrock closed this Jun 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment