--
Ticket URL: <https://code.djangoproject.com/ticket/23333>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_docs: => 0
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Confirmed. The solution is probably to use
`django.utils.encoding.force_bytes` instead of calling `encode` directly.
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:1>
Comment (by Ian-Foote):
I've updated my branch with your suggested fix and created a
[https://github.com/django/django/pull/3099 pull request].
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:2>
* owner: nobody => Ian-Foote
* status: new => assigned
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"03d89168a27f7c5a8fb4b466170c997aca5fdf02"]:
{{{
#!CommitTicketReference repository=""
revision="03d89168a27f7c5a8fb4b466170c997aca5fdf02"
Fixed #23333 -- Made urlsafe_base64_decode() return proper type on Python
3.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:4>
Comment (by Ian-Foote):
Can this fix be backported to 1.6 and 1.7?
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:5>
Comment (by timgraham):
As a bug in a new feature in 1.6, yes. However, after the release of 1.7,
1.6 is only receiving security fixes so I think we should do 1.7 only.
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"d8306650071369ee9d7cad71120d13c22e900a10"]:
{{{
#!CommitTicketReference repository=""
revision="d8306650071369ee9d7cad71120d13c22e900a10"
[1.7.x] Fixed #23333 -- Made urlsafe_base64_decode() return proper type on
Python 3.
Backport of 03d89168a2 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:7>
Comment (by Tim Graham <timograham@…>):
In [changeset:"9e2e4cb6dda5fa1d4d6b047adbcc215daf4d6ff1"]:
{{{
#!CommitTicketReference repository=""
revision="9e2e4cb6dda5fa1d4d6b047adbcc215daf4d6ff1"
Added 1.7.1 release notes for refs #23333.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23333#comment:8>