Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special Characters in Password #278

Closed
kwebster2019 opened this issue Oct 13, 2020 · 3 comments
Closed

Special Characters in Password #278

kwebster2019 opened this issue Oct 13, 2020 · 3 comments
Labels

Comments

@kwebster2019
Copy link

Yeah if the password has special characters
then in file office365.runtime.auth.providers.saml_token_provider.py,
(line 246) data = data.replace('{' + key + '}', str(params[key]))
the params[key] should have a replace with xml special characters
" "
' '
< <

>
& &

@kwebster2019
Copy link
Author

kwebster2019 commented Oct 13, 2020

github has replaced my character spelling
`" "
' '
< <

>
& &`

i cant get it to show here but
https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents

@kwebster2019
Copy link
Author

i love this package other than this. thank you

@vgrem
Copy link
Owner

vgrem commented Nov 4, 2020

Greetings,

the provided error should no longer occur, make sure to update to the latest version (2.2.2 at the moment) which resolves the issue with escaping special characters in xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants