#16705: r13746 makes invalid assumption that QUERY_STRING exists
-------------------------------------+-------------------------------------
Reporter: raylu | Owner: aaugustin
Type: Bug | Status: new
Component: Generic views | Version: SVN
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by aaugustin):
Replying to [comment:9 raylu]:
> It seems like in django/middleware/common.py what you really want is
> {{{ if 'QUERY_STRING' in request.META: }}}
The code is written that way on purpose: if `request.META['QUERY_STRING']`
is the empty string, I don't want to append a query string.
Thanks for the review!
--
Ticket URL: <https://code.djangoproject.com/ticket/16705#comment:11>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.