Redirect middleware should use iexact to match old_path
|Reported by:||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
Change History (4)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|