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.


git-svn-id: 554f83ef17aa7291f84efa897c1acfc5d0035373@6553 bcc190cf-cafb-0310-a4f2-bffc1f526a37

svn2github/django,svn2github/django,svn2github/django