#14153: Redirects fail if URL has appended query string
--------------------------+-------------------------------------------------
Reporter: richardb | Owner: nobody
Status: new | Milestone:
Component: Contrib apps | Version: 1.2
Keywords: redirect | Stage: Unreviewed
Has_patch: 0 |
--------------------------+-------------------------------------------------
The redirect middleware obtains the path of the current request with
{{{path = request.get_full_path()}}}, then tries to find a match in the
Redirect table.[[BR]]
If there is an appended query string, it will include this when querying
the Redirect table (and so fail to find a match).[[BR]]
Shouldn't we use {{{path = request.path}}} instead?
--
Ticket URL: <http://code.djangoproject.com/ticket/14153>
Django <http://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.