pydio-core icon indicating copy to clipboard operation
pydio-core copied to clipboard

401 unauthorised and stopped sync

Open mcr-ksh opened this issue 5 years ago • 0 comments

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

mcr-ksh avatar Apr 20 '20 08:04 mcr-ksh