• Matthew Holt's avatar
    tls: In HTTP->HTTPS redirects, preserve redir port in some circumstances · a03eba6f
    Matthew Holt authored
    Only strip the port from the Location URL value if the port is NOT the
    HTTPSPort (before, we compared against DefaultHTTPSPort instead of
    HTTPSPort). The HTTPSPort can be changed, but is done so for port
    forwarding, since in reality you can't 'change' the standard HTTPS port,
    you can only forward it.
    a03eba6f
https.go 7.12 KB