django/django — pull request #619 by mattrobenolt (2013-01-02 23:03:57+00:00)
Title: Allow X-Forwarded-Port header to override the default SERVER_PORT when reversing URLs

Related: https://code.djangoproject.com/ticket/19517