At 05:17 PM 7/28/00 -0400, Geoff Talvola wrote:
>There's a line in ExamplePage.py that reads:
>script['pathname'] = os.path.join(dir, filename)
>where the pathname is later used to make a link. This is unsafe,
>because on Windows it will put in backslashes instead of forward
>slashes. Some combinations of web servers and browsers will still work
>OK, but others will fail (such as IIS with Netscape).
>This makes it work:
>script['pathname'] = string.replace(os.path.join(dir, filename), '\\',
>It might be a good idea to create a "urljoin" function that always uses
Agreed on all points.