On 09/04/12 19:12, [email protected] wrote: > > Comment #1 on issue 714 by [email protected]: > pygwt.getModuleBaseURL() always returns file:// on Windows > http://code.google.com/p/pyjamas/issues/detail?id=714 > > this really should be fixed properly by using os.path. > > New comment added to issue 714 with revised patch using os.path. P.
Arrgh! the final os.path.sep buggers HTTPRequest._convertUrlToAbsolute by adding a final backslash with pyjd/MSHTML when it needs a forward slash. Safer to just add a forward slash in every case. No problem with os.path.split() in this circumstance. I will produce yet another patch when I've done a bit mote testing. Bug list is currently READ_ONLY for maintenance so I can't post a comment yet. P.

