Branch: Tag:

2014-08-01

2014-08-01 15:36:22 by Pontus Rodling <frigolit@frigolit.net>

Take special ports into consideration if X-Forwarded-Host is missing. Updates [bug 7221 (#7221)].

1388:    uri = Standards.URI(uri->scheme + "://" + xf_host + uri->path);    }    else if (xf_proto) { -  uri = Standards.URI(xf_proto + "://" + uri->host + uri->path); +  uri = Standards.URI(xf_proto + "://" + uri->host + ":" + uri->port + uri->path);    }       url = (string)uri + url[1..];