[PATCH] Fix Python exception when SCRIPT_NAME is not defined
Jonathan Watt
jwatt at jwatt.org
Thu Jun 25 22:03:20 UTC 2009
On 6/25/09 10:55 AM, Dirkjan Ochtman wrote:
> On Tue, Jun 23, 2009 at 20:28, Jonathan Watt<jwatt at jwatt.org> wrote:
>> Updated to mercurial 1.2.1 broke hgwebdir.cgi for me due to a python exception.
>> Here's a patch.
>
> Where are you running the CGI? SCRIPT_NAME seems to be mandated by the CGI spec.
I think it was due to the group owner for the files not being the user owner's
default group, but a different group that the user belongs to.
> Anyway, the patch seems harmless, so we can probably just take it. Thanks!
Thanks!
Jonathan
More information about the Mercurial-devel
mailing list