#29576: Fix construction of HTTP_COOKIE value in base environ of test requests
-------------------------------------+-------------------------------------
Reporter: Thng Kai Yuan | Owner: Thng Kai
| Yuan
Type: Bug | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Thng Kai Yuan:
Old description:
> The existing implementation wrongly constructs cookies into:
> ' sessionid=helloworld; Domain=None; expires=None; Max-Age=None; Path=/'
>
> For the given example, this fix will correct the construction to be:
> 'sessionid=helloworld'
New description:
The bug exists at:
https://github.com/django/django/blob/master/django/test/client.py#L280
This existing implementation wrongly constructs cookies into:
' sessionid=helloworld; Domain=None; expires=None; Max-Age=None; Path=/'
For the given example, a fix will correct the construction to be:
'sessionid=helloworld'
--
--
Ticket URL: <https://code.djangoproject.com/ticket/29576#comment:1>
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/069.6d38db476597c31d60e6e41202e64f2d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.