[PATCH] Make {urlbase} work in templates when https is used

Thomas Arendsen Hein thomas at intevation.de
Tue Jul 10 19:26:58 UTC 2007


* Wesley J. Landaker <wjl at icecavern.net> [20070710 19:10]:
> # HG changeset patch
> # User Wesley J. Landaker <wjl at icecavern.net>
> # Date 1184086494 21600
> # Node ID 1f4b44a29f507f8ddec84f56744168e3c584eb32
> # Parent  f48290864625d7de522ad990230e1d7cc437c20a
> Make {urlbase} work in templates when https is used.
> 
> +        if req.env.get('HTTPS'):

Which servers set this https variable?

And hg serve in ssl mode or behind a proxy will probably not use
this, too.

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner



More information about the Mercurial-devel mailing list