escape() passwords and usernames before forming Basic auth with them. Otherwise, window.btoa() raises an InvalidCharacterError: DOM Exception 5.
escape() passwords and usernames before forming Basic auth with them.
Otherwise, window.btoa() raises an InvalidCharacterError: DOM Exception 5.

According to empirical testing, this seems to be exactly the encoding that
the server is expecting.

antoniodesouza/SpiderOakMobileClient,SpiderOak/SpiderOakMobileClient,antoniodesouza/SpiderOakMobileClient,SpiderOak/SpiderOakMobileClient