[PATCH 3 of 7] Use wsgi.url_scheme instead of ad-hoc CGI checks

Wesley J. Landaker wjl at icecavern.net
Fri Jul 13 10:22:06 CDT 2007


On Thursday 12 July 2007 23:56:56 Brendan Cully wrote:
> On Thursday, 12 July 2007 at 14:48, Wesley J. Landaker wrote:
> > # HG changeset patch
> > # User Wesley J. Landaker <wjl at icecavern.net>
> > # Date 1184270506 21600
> > # Node ID 9fc9dc548b0e4cc21a95d1681e3f024e1d712f25
> > # Parent  8f430b1b3025cbd7735585a3ed3911289654e89f
> > Use wsgi.url_scheme instead of ad-hoc CGI checks.
> >
> > Instead of each place in hgweb_mod that needs to check for SSL or get
> > the protocol scheme (http vs. https) doing it ad-hoc, make them just
> > look at the wsgi.url_scheme which because of previous patches is now
> > always set correctly.
>
> Applied to crew, with the typos fixed.

Excellent, thanks. =)

Any comments (from anyone) on the other patches? I can respin and resubmit 
if there are things that need to change.

-- 
Wesley J. Landaker <wjl at icecavern.net> <xmpp:wjl at icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20070713/ce1258ad/attachment.pgp 


More information about the Mercurial-devel mailing list