Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

401 unauthorised and stopped sync #1463

Open
mcr-ksh opened this issue Apr 20, 2020 · 0 comments
Open

401 unauthorised and stopped sync #1463

mcr-ksh opened this issue Apr 20, 2020 · 0 comments

Comments

@mcr-ksh
Copy link

mcr-ksh commented Apr 20, 2020

Hi,

I've encountered various issues with HTTP 401 leading to a failed authentication and thus stopped synchronisation.

Cause: A URI/filename with a "+" character causes the HMAC256 to fail verification of the server_uri.

Fix: rawurlencode does not convert the "+" sign to a space and the hashes match.

The issue was traced and fixed for us by changing plugins/authfront.keystore/KeystoreAuthFrontend.php
array_map urlencode -> rawurlencode

Best
MR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant