Skip to content

[BUG] French accents and WebDAV not working #3182

@guillcdv

Description

@guillcdv

Checks

  • I have read the FAQ section, searched the open issues, and still think this is a new bug.

Describe the bug you encountered:

I'm using a database located on my Synology using WebDAV. The path contains /Sécurité/ in it. The app won't save it properly when synchronized.
Workaround: use Securite instead.

Here is the traceback

15/02/2026 10:45:00:39 -- System.Exception: Unexpected char 0xe9 at 45 in Destination value: https:///Sécurité/Mots2Passe.kdbx
---> Java.Lang.IllegalArgumentException: Unexpected char 0xe9 at 45 in Destination value: https:///Sécurité/Mots2Passe.kdbx
at Java.Interop.JniEnvironment.InstanceMethods.CallVoidMethod(JniObjectReference , JniMethodInfo , JniArgumentValue* )
at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualVoidMethod(String , IJavaPeerable , JniArgumentValue* )
at Keepass2android.Javafilestorage.WebDavStorage.UploadFile(String path, Byte[] data, Boolean writeTransactional)
at keepass2android.Io.JavaFileStorage.JavaFileStorageWriteTransaction.CommitWrite()
--- End of managed Java.Lang.IllegalArgumentException stack trace ---
java.lang.IllegalArgumentException: Unexpected char 0xe9 at 45 in Destination value: https:///Sécurité/Mots2Passe.kdbx
at okhttp3.Headers$Companion.checkValue(Headers.kt:450)
at okhttp3.Headers$Companion.access$checkValue(Headers.kt:362)
at okhttp3.Headers$Builder.set(Headers.kt:344)
at okhttp3.Request$Builder.header(Request.kt:199)
at keepass2android.javafilestorage.WebDavStorage.renameOrMoveWebDavResource(WebDavStorage.java:214)
at keepass2android.javafilestorage.WebDavStorage.uploadFile(WebDavStorage.java:268)
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
at java.lang.Thread.run(Thread.java:1119)

Describe what you expected to happen:

No response

What version of Keepass2Android are you using?

1.14-r4

Which version of Android are you on?

16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions