Hi,
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 :
https://myowncloudserver/
my username is :
John Doe
(yes, with a "space" between both words)
Directory where I store my vaults is :
Vaults
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:
192.168.0.250 - - [26/Jan/2019:10:48:19 +0100] "PROPFIND /remote.php/dav/files/John%2520Doe/Vaults/ HTTP/1.1" 401 4489 "-" "-"
192.168.0.250 - 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:
192.168.0.250 - - [26/Jan/2019:10:52:17 +0100] "PROPFIND /remote.php/dav/files/John%20Doe/Vaults/Enpass/vault.enpassdbsync HTTP/1.1" 401 4924 "-" "-"
192.168.0.250 - 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,