[PATCH] fix absolute url generation in hgweb feeds

Dirkjan Ochtman dirkjan at ochtman.nl
Fri Aug 14 17:32:14 CDT 2009


On Fri, Aug 14, 2009 at 23:10, Alexander Solovyov<piranha at piranha.org.ua> wrote:
> # HG changeset patch
> # User Alexander Solovyov <piranha at piranha.org.ua>
> # Date 1250284112 -10800
> # Node ID 5ec9127736ffe4b06f70aab5d0bf52fb0f58237a
> # Parent  cc3916411873596afa470e000d9436fff2939c59
> fix absolute url generation in hgweb feeds
>
> HTTP_HOST is an HTTP header, which allows to understand more precisely which
> address is external for hgweb instance. This is useful when using hgweb behind
> reverse proxy.

This will need tests, and I'd rather not include yet more one-offs
until we have a better test suite for this stuff.

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list