catch-all url masks 404's and blocks 301's
ccg opened this issue · comments
Chad Glendenin commented
It appears that the final url in schedule/urls.py -- url(r'$', object_list, info_dict, name='schedule') -- matches any url. As a result, you never get a 404. Also, Django can redirect non-trailing-slash URLs to the trailing-slash URL (to avoid duplication), but that is inhibited too, because the catch-all url matches everything. The result is that /calendar/year/slug and /calendar/year/slug/ return different content, when the former should either redirect to the latter or return a 404.
Chad Glendenin commented
Oops, duplicate of issue #33.