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

[bug] Dot-prefixed files/dirs are forcefully ignored with WebDAV #764

Open
sevmonster opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@sevmonster
Copy link

sevmonster commented Nov 6, 2024

Description of the bug

if strings.HasPrefix(filepath.Base(this.path), ".") {

if strings.HasPrefix(filepath.Base(this.path), ".") {

I am trying to use a share link with Obsidian (again to replace Nextcloud) and the .obsidian and .trash dirs are not accessible.

You can see the files and folders, you can rename anything to be dot-prefixed and it will accept it, but you cannot view/edit or navigate into such files or folders respectively.

Step by step instructions to reproduce the bug

  1. Make a directory
  2. Share it
  3. Open with WebDAV
  4. Attempt to access any directory or file that starts with . inside the share

Can you replicate that error from the demo?

Yes

Observed behavior

It doesn't work

Expected behavior

It works, or an option is added to disable this feature per-share or per-tenant

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

1 participant