WebDAV picks up files with wrong extension
Bug report
Steps to reproduce - current behaviour
- Set up WebDAV share containing
passwords.kdbx - Create
passwords.kdbx.bakbackup file as copy - Link Tusk to WebDAV share
- Tusk picks up two databases,
passwords.kdbxandpasswords.kdbx.bak
What is the expected behaviour
- Tusk picks up single
passwords.kdbxdatabase
Additional remarks
This documentation suggests Tusk should only pick up *.kdbx files, but this line pulls *.kdbx* instead, including files like a.kdbxbcdef.g. Probably should use endsWith instead?
Environment
Operating System:
Arch Linux
Browser vendor and version:
Chromium 69.0.3497.100
Storage Provider:
WebDAV
Good catch.
I've come up against this enough times that I want to make file extensions configurable. Some folks may want .kdbx.bak to be visible in the same way that some misguided people insist on saving their password files as a .png
It would make sense to have a comma separated list of file extensions that Tusk can scan for.
Let's roll this issue into a feature request and fix it as part of that.
Sound good?