[Django] #27156: Setting HttpRequest.encoding should clear GET

5 views
Skip to first unread message

Django

unread,
Aug 30, 2016, 9:27:33 PM8/30/16
to django-...@googlegroups.com
#27156: Setting HttpRequest.encoding should clear GET
-----------------------------------------+------------------------
Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: HTTP handling | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Discovered in #27113, commit d7a4b156d935ffcb8cdd9290688457453fc06b24
broke clearing of `request.GET` when `request.encoding` changes. I think
the line in the `encoding.settr` needs to use `del self.GET` instead of
`del self._get`.

--
Ticket URL: <https://code.djangoproject.com/ticket/27156>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 19, 2016, 10:29:08 AM9/19/16
to django-...@googlegroups.com
#27156: Setting HttpRequest.encoding should clear GET
-------------------------------+------------------------------------
Reporter: timgraham | Owner: PREM1980
Type: Bug | Status: assigned

Component: HTTP handling | Version: 1.10
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by PREM1980):

* owner: nobody => PREM1980
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/27156#comment:1>

Django

unread,
Nov 16, 2016, 4:26:27 PM11/16/16
to django-...@googlegroups.com
#27156: Setting HttpRequest.encoding should clear GET
-------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: PREMANAND
Type: Bug | Status: assigned

Component: HTTP handling | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------------------
Changes (by PREMANAND):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/27156#comment:2>

Django

unread,
Nov 16, 2016, 4:27:28 PM11/16/16
to django-...@googlegroups.com
#27156: Setting HttpRequest.encoding should clear GET
-------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: PREMANAND
Type: Bug | Status: assigned
Component: HTTP handling | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------------------

Comment (by PREMANAND):

https://github.com/django/django/pull/7569

--
Ticket URL: <https://code.djangoproject.com/ticket/27156#comment:3>

Django

unread,
Nov 16, 2016, 4:58:53 PM11/16/16
to django-...@googlegroups.com
#27156: Setting HttpRequest.encoding should clear GET
-------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: PREMANAND
Type: Bug | Status: assigned
Component: HTTP handling | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 0 => 1


Comment:

The test doesn't pass on Python 2.

--
Ticket URL: <https://code.djangoproject.com/ticket/27156#comment:4>

Django

unread,
Nov 17, 2016, 12:47:01 PM11/17/16
to django-...@googlegroups.com
#27156: Setting HttpRequest.encoding should clear GET
-------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: PREMANAND
Type: Bug | Status: closed

Component: HTTP handling | Version: 1.10
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"371adc472a2a1f09923101e3c4fda60cdff96028" 371adc4]:
{{{
#!CommitTicketReference repository=""
revision="371adc472a2a1f09923101e3c4fda60cdff96028"
Fixed #27156 -- Made changing HttpRequest.encoding clear GET.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27156#comment:5>

Reply all
Reply to author
Forward
0 new messages