You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
Current behavior:
When trying to log in in the ADF login component using basic authentication, the authentication fails when the password contains spaces (and most likely also for other escaped characters). It appears that the username and password strings are URI encoded before the authorization header is base64 encoded, which introduces additional characters to the Authorization header when username and/or password contain escaped characters:
Type of issue:
Current behavior:
When trying to log in in the ADF login component using basic authentication, the authentication fails when the password contains spaces (and most likely also for other escaped characters). It appears that the username and password strings are URI encoded before the authorization header is base64 encoded, which introduces additional characters to the Authorization header when username and/or password contain escaped characters:
alfresco-js-api/src/alfrescoApiClient.ts
Line 244 in 5d1344e
Example ADF login:
results in
Authorization: Basic YWRtaW46QSUyMHN0cm9uZyUyMHBhc3N3b3JkIQ==
which is the equivalent of
Authorization: Basic admin:A%20strong%20password!
instead of
Expected Behavior
Authorization: Basic YWRtaW46QSBzdHJvbmcgcGFzc3dvcmQh
which would be
Authorization: Basic admin:A strong password!
The text was updated successfully, but these errors were encountered: