Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Error on login when user has non-latin character in username or password #146

Closed
DenysVuika opened this issue Jan 10, 2017 · 0 comments · Fixed by #155
Closed

Error on login when user has non-latin character in username or password #146

DenysVuika opened this issue Jan 10, 2017 · 0 comments · Fixed by #155
Assignees
Labels
Milestone

Comments

@DenysVuika
Copy link
Contributor

Posted originally here
Possible solution: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.

Type of issue: (check with "[x]")

- [ ] New feature request
- [x] Bug  
- [ ] Support request

Current behaviour:
Error occurs and login fails.
snip20161206_12

Expected behaviour:
Login is successful without errors.

Steps to reproduce the issue:
Pre-conditions:

  1. Go to Alfresco Content Services (Platform or Share) and create any valid user that contains in its username and password non-Latin characters (e.g. Russian, Chinese, French, Romain characters ,etc)
  2. In a browser enter: http://:/login
  3. Enter the user's details created in preconditions and press SIGN IN button.

Component name and version:
ng2-alfresco-login

Browser and version:
Chrome

Node version (for build issues):

New feature request:

@DenysVuika DenysVuika added the bug label Jan 10, 2017
@DenysVuika DenysVuika self-assigned this Jan 12, 2017
@DenysVuika DenysVuika added this to the 1.0.1 milestone Jan 12, 2017
DenysVuika pushed a commit that referenced this issue Jan 12, 2017
This was referenced Jan 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant