Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden files are not returned by PROPFIND #41

Open
xkrt opened this issue Jan 18, 2019 · 3 comments
Open

Hidden files are not returned by PROPFIND #41

xkrt opened this issue Jan 18, 2019 · 3 comments

Comments

@xkrt
Copy link

xkrt commented Jan 18, 2019

Hi, @arut !

Looks like while doing refactoring you change semantic of PROPFIND, see 95e8fb9#diff-4e53c5fe25cf9451fc3262464aa2813eR497.

PROPFIND now don't return hidden files. But hidden files are very useful in scenario upload-file-as-hidden-and-rename-it.

Can you stop filtering out these hidden files and release this new version, please?

@zhouruixi
Copy link

Server doesn't return hidden files and folders since v2.0.0 release, is this a BUG or something I did wrong? Thanks @arut

  • compile with nginx/1.15.8, alpine linux 3.9

  • mount with -t davfs option on openwrt 18.06.2, when I run ls -la, no hidden files shows(but v0.1.0 shows).

  • run nginx with config :

      location / {
              dav_methods PUT DELETE MKCOL COPY MOVE;
              dav_ext_methods PROPFIND OPTIONS;
              create_full_put_path on;
              autoindex on;
              autoindex_exact_size off;
              client_max_body_size 0;
      }
    

@Clashsoft
Copy link

Looks like this is the line that causes it:

if (name.data[0] == '.') {

Perhaps there should be a flag that toggles this? I'd submit a PR but I don't know enough about nginx internals.

@JeppeX
Copy link

JeppeX commented Aug 16, 2023

This repo has been abondoned, I used https://github.com/mid1221213/nginx-dav-ext-module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants