Fixed bad links in RSS feed when darcsweb URL is automatically detected
Wed May 16 09:48:24 UTC 2007 Jonathan Buchanan <jonathan.buchanan@gmail.com>
* 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.
hunk ./darcsweb.cgi 2324
- s = os.environ['SCRIPT_NAME']
+ s = os.path.dirname(os.environ['SCRIPT_NAME'])