#23333: urlsafe_base64_encode/decode don't round-trip on python3
----------------------------+--------------------
Reporter: Ian-Foote | Owner: nobody
Type: Bug | Status: new
Component: Utilities | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------
The functions {{{urlsafe_base64_encode}}} and {{{urlsafe_base64_decode}}}
in {{{django.utils.http}}} should be inverses of each other, but on
python3 {{{urlsafe_base64_encode}}} returns {{{bytes}}} but
{{{urlsafe_base64_decode}}} expects a {{{str}}}. I've created a test for
this on a [https://github.com/Ian-Foote/django/tree/urlsafe_base64 github
branch].
--
Ticket URL: <https://code.djangoproject.com/ticket/23333>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.05659aed37fce3c76518ee36272391f8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.