twhittock / eo_mini

EO Mini integration for Home Assistant
MIT License
13 stars 6 forks source link

Fix: token request can fail if password contains special characters #3

Closed zackslash closed 1 year ago

zackslash commented 1 year ago

Hi thank you for creating this integration,

This Pull request updates the authentication request to URL encode the user credentials, solving the issue of special characters in the password causing login errors due to malformed HTTP request.

Issue: Attempting to login with a password that contains special characters could result in "The user name or password is incorrect." error, even when the credentials are good.

After this fix: The user's login was successful.

twhittock commented 1 year ago

Thank you for the contribution