[PATCH 0 of 1] hgweb: add environ to template variables
dirkjan at ochtman.nl
Tue Sep 21 07:58:55 CDT 2010
On Tue, Sep 21, 2010 at 14:41, FZiegler <zarf at klacto.net> wrote:
> Rather than making the piecemeal addition of req.env['REMOTE_USER'] as a
> template variable ('remoteuser'), it uses danchr's mechanism to expose the
> entire wsgi environment (req.env) as template variable 'environ'.
I think this is a bad idea, because it exposes too much stuff to the templates.
More information about the Mercurial-devel