PhilippC / PhilippC/keepass2android
[BUG] Error when trying to open a database file without extension (no .kdbx) from a WebDAV server
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.2k
- Forks
- 478
- Avg merge
- 1h 4m
- Merged PRs (30d)
- 2
Description
Checks
- I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:
It is not possible to open a database file without extension from a WebDAV server (WebDAV URL is something like https://server.com/dav/db). I am getting an error "Did not find initial path". Adding .kdbx or another extension to the remote file name resolves the issue. Database file name without extension works fine when opened through e.g., dropboxKP2A:// protocol.
Describe what you expected to happen:
The database file should open regardless of whether it has an extension appended to its file name or not.
What version of Keepass2Android are you using?
1.14-r4
Which version of Android are you on?
15
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Android 15 with Keepass2Android 1.14-r4 using a WebDAV URL whose database filename has no extension. Compare opening that URL with the same database renamed with .kdbx and with the dropboxKP2A:// protocol; done means the extensionless WebDAV database opens successfully without the “Did not find initial path” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100