[issue846] WSGI Compliance
Hatem Nassrat
mercurial-bugs at selenic.com
Sun Nov 25 20:42:56 UTC 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.
----------
messages: 4373
nosy: nassrat
priority: bug
status: unread
title: WSGI Compliance
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue846>
____________________________________________________
More information about the Mercurial-devel
mailing list