On 9 Oct 2006, at 21:07, mukappa wrote:
> One observation.  When redirecting to https elsewhere in the django  
> code I see this call, "django.http.get_host(request)" for resolving  
> the host portion.

Good call, that function checks for HTTP_X_FORWARDED_HOST instead of  
just request.META['HTTP_HOST'] as I’m doing.

I tweaked the SSL middleware to use it, thanks for the heads up!

Cheers.
-- 
Antonio



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to