Opened 13 years ago
Closed 13 years ago
#17817 closed Bug (fixed)
Django should not send invalid Location headers
Reported by: | Paul McMillan | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | 1.4-beta-1 |
Severity: | Release blocker | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Django's locale middleware currently includes code which generates Location headers with relative URIs.
According to RFC 1945 and 2616, Location headers must be constructed with an absolute URI. While some user agents may support the non-compliant behavior, Django itself should not rely on this, and should generate absolute URIs as it does elsewhere.
Note:
See TracTickets
for help on using tickets.
In [17633]: