Open mcr-ksh opened 4 years ago
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
plugins/authfront.keystore/KeystoreAuthFrontend.php
array_map
Best MR
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 -> rawurlencodeBest MR