#9199: Common middleware PREPEND_WWW broken
----------------------------+-----------------------------------------------
 Reporter:  gonz            |       Owner:  nobody    
   Status:  new             |   Milestone:            
Component:  Core framework  |     Version:  SVN       
 Keywords:                  |       Stage:  Unreviewed
Has_patch:  1               |  
----------------------------+-----------------------------------------------
 I think theres a bug in CommonMiddleware's PREPEND_WWW and it's not
 working as expected.

 I think the bug was introduced after [8456], it will prepend 'www.' only
 if request.path_info doesn't have a trailing slash. I have reproduced this
 running under the dev web server and apache. Patch attached.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9199>
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