Jump to content
Enpass Discussion Forum

Webdav space encoding issue on Linux 6.0.3


Recommended Posts


Trying to setup an alternate vault on my Linux Enpass, using a local OwnCloud server, I'm currently facing an issue due to space encoding in URL.

my URL is :


my username is :

John Doe

        (yes, with a "space" between both words)

Directory where I store my vaults is :


So I configured the following URL for the vault in my Linux Enpass :

https://myowncloudserver/remote.php/dav/files/John Doe/Vaults/

... failed !

I looked at the logs on my owncloud server: - - [26/Jan/2019:10:48:19 +0100] "PROPFIND /remote.php/dav/files/John%2520Doe/Vaults/ HTTP/1.1" 401 4489 "-" "-" - John Doe [26/Jan/2019:10:48:19 +0100] "PROPFIND /remote.php/dav/files/John%2520Doe/Vaults/ HTTP/1.1" 404 1356 "-" "-"     

Pay attention to the "space" encoding... it has been translated as "%2520" instead of simply "%20"

This is what happens when you try to encode "%20" again... The "%" is encoded as "%25".

I concluded that, on my Linux version, Enpass is encoding twice the URL...

First time : " " --> "%20"

Second time : "%20" --> "%2520"


I have exactly the same setup on my Windows 7 laptop, with a different version of Enpass.

And it works fine !

Logs on my owncloud server are significant: - - [26/Jan/2019:10:52:17 +0100] "PROPFIND /remote.php/dav/files/John%20Doe/Vaults/Enpass/vault.enpassdbsync HTTP/1.1" 401 4924 "-" "-" - John Doe [26/Jan/2019:10:52:17 +0100] "PROPFIND /remote.php/dav/files/John%20Doe/Vaults/Enpass/vault.enpassdbsync HTTP/1.1" 207 1734 "-" "-"            │


Enpass Linux version : 6.0.3 (263)  --> KO

Enpass Windows version : 6.0.0 (230) --> OK

So, what is the problem ? Linux versus Windows ? 6.0.3 versus 6.0.0 ?


Thanks in advance for your help,

Edited by MisterT
Link to comment
Share on other sites

Additional info :

On Linux version 6.0.0, it works fine

Enpass Linux version : 6.0.0 --> OK


Note that I had to replace the space in the URL with %20:


This works on 6.0.0.

It does not work on 6.0.3 (the owncloud logs show : ... John%25%2520Doe...)

Edited by MisterT
Link to comment
Share on other sites

Thanks to another discussion on this forum, I could solve my issue...


Not that Enpass corrected the problem, but there is a much simpler way of defining the URL, using WEBDAV instead of DAV.

Difference is that WEBDAV does not require you to enter your username in the URL (so, my "white space" issue is no longer a problem)... It connects with your credentials, and its home directory is your Cloud home directory.

So the syntax to use for the synchro URL is :


So now, this is solved for me !

(tested on Linux & Windows, on versions 6.0.0 and 6.0.3)

Link to comment
Share on other sites

I can confirm this coding issue. I can make the webdav sync from Ubuntu 18.04 LTS to Alfresco server. The android phone and tablet not able due to space coding issue in URL.

The log recorded this for sync request from Android: - - [05/Feb/2019:22:20:18 +0000] "PROPFIND /alfresco/webdav/User%252520Homes/kecskes/Security/ HTTP/1.1" 401 5 - - [05/Feb/2019:22:20:18 +0000] "PROPFIND /alfresco/webdav/User%252520Homes/kecskes/Security/ HTTP/1.1" 404 1047

The space coding should be '%20' instead of '%252520'

The log record for desktop sync is correct: - - [05/Feb/2019:22:17:14 +0000] "GET /alfresco/webdav/User%20Homes/kecskes/Security/Enpass/vault.enpassdbsync HTTP/1.1" 401 5 - - [05/Feb/2019:22:17:14 +0000] "GET /alfresco/webdav/User%20Homes/kecskes/Security/Enpass/vault.enpassdbsync HTTP/1.1" 200 234496

Please fix the Android app as soon as possible because this is unusable and just wasted my money.

Desktop: Ubuntu 18.04 LTS with Enpass 6.0.1 (239)

Android: Enpass 6.0.3 (195)

Server: Ubuntu 18.04 LTS server in LXC container with Alfresco 6 Community Edition

Link to comment
Share on other sites

After today update on Linux desktop client the newest version (6.0.4) reached the quality level of the android application.

The newest log event for webdav sync: - - [12/Feb/2019:11:26:09 +0000] "PROPFIND /alfresco/webdav/User%2520Homes/kecskes/Private/Security/Enpass/vault.enpassdbsync HTTP/1.1" 401 5 - - [12/Feb/2019:11:26:09 +0000] "PROPFIND /alfresco/webdav/User%2520Homes/kecskes/Private/Security/Enpass/vault.enpassdbsync HTTP/1.1" 404 1047

Great job, if the plan is to ruin the reputation of the software. I thought after reporting the Android sync issue you focus to fix it but the reality the bug spreads to all platform. OK, that's my problem. :/

It's time to start testing the apps at the market.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...