meshy / django-conman

NOT READY: Work in progress. A content management system for django
BSD 2-Clause "Simplified" License
3 stars 5 forks source link

Don't allow RouteRedirect to redirect to itself #45

Closed meshy closed 9 years ago

meshy commented 9 years ago

It's currently possible for RouteRedirect.target to equal RouteRedirect.pk. This would result in a redirect to self loop, and we should add validation (or a constraint) to disable this.