Fixed #5762 -- Quoted the portions that make up the URL when appending "www." or adding a trailing slash in common middleware.
Fixed #5762 -- Quoted the portions that make up the URL when appending
"www." or adding a trailing slash in common middleware.

--HG--
extra : convert_revision : svn%3Abcc190cf-cafb-0310-a4f2-bffc1f526a37/django/trunk%406553

adieu/django-nonrel,adieu/django-nonrel,adieu/django-nonrel