[issue846] WSGI Compliance
mercurial-bugs at selenic.com
Sun Nov 25 14:42:56 CST 2007
New submission from Hatem Nassrat <nassrat at cs.dal.ca>:
Lines 91 & 158 of mercurial/hgweb/hgwebdir_mod.py
Contain reference to REQUEST_URI which is not a WSGI environ var.
The REQUEST_URI is not a valid WSGI Environment variable, the valid one
is PATH_INFO. The buggy version would work under Apache2 mod_wsgi,
guessing they add REQUEST_URI to all headers, However will not work with
real WSGI servers.
I have hacked this in my copy of mercurial, However, other changes seem
to be needed as the links are not being produced correctly.
title: WSGI Compliance
Mercurial issue tracker <mercurial-bugs at selenic.com>
More information about the Mercurial-devel