Ticket #20303: request.diff
File request.diff, 486 bytes (added by , 12 years ago) |
---|
-
django/http/request.
old new 55 55 if settings.USE_X_FORWARDED_HOST and ( 56 56 'HTTP_X_FORWARDED_HOST' in self.META): 57 57 host = self.META['HTTP_X_FORWARDED_HOST'] 58 if host.find(',') >= 0: 59 host = host.split(',')[0] 58 60 elif 'HTTP_HOST' in self.META: 59 61 host = self.META['HTTP_HOST'] 60 62 else: