#9678: Flatpage with URL of "/" ends up in a redirect loop.
------------------------------------+---------------------------------------
          Reporter:  watusee        |         Owner:  nobody  
            Status:  reopened       |     Milestone:  post-1.0
         Component:  Uncategorized  |       Version:  1.0     
        Resolution:                 |      Keywords:  flatpage
             Stage:  Unreviewed     |     Has_patch:  0       
        Needs_docs:  0              |   Needs_tests:  0       
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by dc):

 > Flatpage URLs are not required to end in trailing slashes

 Yes, but because of
 {{{
 if not url.endswith('/') and settings.APPEND_SLASH:
     return HttpResponseRedirect("%s/" % request.path)
 }}}
 there is always /page -> /page/ redirect.

 This lines were introduced in [8218] as a fix for #6213 and bug seems
 still there. So this ticket looks like some kind of #6213 duplicate.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9678#comment:6>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to