Opened 17 years ago
Closed 17 years ago
#5859 closed (duplicate)
Redirect middleware should use iexact to match old_path
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Contrib apps | Version: | dev |
Severity: | Keywords: | redirects | |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This, or drop unique_together=(('site', 'old_path'),) in Redirect model.
The problem is that you can't add both '/About.html' and '/about.html' as two redirects for the same site.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | contrib_redirect_middleware.diff added |
---|
comment:1 by , 17 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:3 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Yeah, this is a duplicate of #4562.
Note:
See TracTickets
for help on using tickets.
redirect middleware w/iexact