PhilippC / PhilippC/keepass2android

[BUG] Error when trying to open a database file without extension (no .kdbx) from a WebDAV server

Open
#3,246 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.