Wed May 16 09:48:24 UTC 2007 Jonathan Buchanan * Fixed bad links in RSS feed when darcsweb URL is automatically detected When the darcsweb URL is automatically detected, the script name is included in the URL - this results in bad links in RSS feeds like /darcsweb.cgi/darcsweb.cgi?r=projname. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2015-10-28 05:49:58.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2015-10-28 05:49:58.000000000 +0000 @@ -2321,7 +2321,7 @@ if 'myurl' not in dir(base) and 'cachedir' not in dir(base): n = os.environ['SERVER_NAME'] p = os.environ['SERVER_PORT'] - s = os.environ['SCRIPT_NAME'] + s = os.path.dirname(os.environ['SCRIPT_NAME']) if p == '80': p = '' else: