#19910: Double redirect with APPEND_SLASH and i18n_patterns
-------------------------------------+-------------------------------------
Reporter: ssteinberger@… | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: 1.4
Component: Core (URLs) | Keywords: redirect, i18n,
Severity: Normal | append_slash
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Just a thought:
Using settings.APPEND_SLASH = True in combination with i18n_patterns may
lead to unnecessary redirects, like so:
Opening URL: "/some_i18n_url"
Redirect to: "/en/some_i18n_url"
Redirect to: "/en/some_i18n_url/"
It would be more efficient to combine those redirects into.
--
Ticket URL: <https://code.djangoproject.com/ticket/19910>
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].
For more options, visit https://groups.google.com/groups/opt_out.