[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial-devel
Subject:    [issue846] WSGI Compliance
From:       Hatem Nassrat <mercurial-bugs () selenic ! com>
Date:       2007-11-25 20:42:56
Message-ID: 1196023376.28.0.69253239833.issue846 () selenic ! com
[Download RAW message or body]


New submission from Hatem Nassrat <nassrat@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@selenic.com>
<http://www.selenic.com/mercurial/bts/issue846>
____________________________________________________

_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@selenic.com
http://selenic.com/mailman/listinfo/mercurial-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic