[PATCH] Fix Python exception when SCRIPT_NAME is not defined

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Jun 25 03:55:46 CDT 2009


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.

Anyway, the patch seems harmless, so we can probably just take it. Thanks!

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list