#19910: Double redirect with APPEND_SLASH and i18n_patterns
-------------------------------------+-------------------------------------
Reporter: ssteinberger@… | Owner: bpeschier
Type: | Status: closed
Cleanup/optimization |
Component: Core (URLs) | Version: 1.4
Severity: Normal | Resolution: fixed
Keywords: redirect, i18n, | Triage Stage: Ready for
append_slash | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9128762f1608f9633005f16c95270058a50ada2b" 9128762]:
{{{
#!CommitTicketReference repository=""
revision="9128762f1608f9633005f16c95270058a50ada2b"
Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set.
This introduces a force_append_slash argument for request.get_full_path()
which is used by RedirectFallbackMiddleware and CommonMiddleware when
handling redirects for settings.APPEND_SLASH.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/19910#comment:5>
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/078.50d50c6cbf0daf6d42906abc5f618d94%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.