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

Use strings instead of binary strings in reset_url generation #1611

Merged
merged 1 commit into from
May 31, 2019

Conversation

lincmba
Copy link
Contributor

@lincmba lincmba commented May 28, 2019

In python3, when a binary string is rendered to string, the ascii code representation of b' and ' characters are used.

Here we specifically use the decoded strings to avoid errors caused by the above.
fixes #1610

Signed-off-by: Lincoln Simba [email protected]

@lincmba lincmba requested a review from ukanga May 28, 2019 14:29
…e representation of `b'` and `'` characters are used.

Here we specifically use the decoded strings to avoid errors caused by the above.
fixes #1610

Signed-off-by: Lincoln Simba <[email protected]>
@lincmba lincmba force-pushed the use-strings-in-password-reset-url branch from 1f3aa2c to 5d0ff6f Compare May 31, 2019 06:49
@ukanga ukanga merged commit 4916771 into master May 31, 2019
@ukanga ukanga deleted the use-strings-in-password-reset-url branch May 31, 2019 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uid Sent in binary instead of string
2 participants