All calls to nsStdURL::DirFile() are introducing an extra slash immediately before the leaf file name; e.g., "/d|/foo/bar//baz.html" on Win32. To reproduce the problem, 1. Set a breakpoint in nsFileChannel::Init(), around line 90: aURL->DirFile(getter_Copies(fileString)); 2. Observe that fileString always has a double-slash immediately before the leaf file name. FWIW, this bug was introduced in r1.20 of nsStdURL.cpp. It was causing Mac to crash on startup, but I fixed nsFileSpec so as not to suck as bigly.
I just posted a fix to the builds group. I missed DirFile in cleaning up the / usage. Just remove lines 1043/1044 from nsStdURL.cpp: if (mDirectory) temp += '/'; Sorry for the mess ...
I checked in the fix myself ...
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
Bulk move of all Necko (to be deleted component) bugs to new Networking component.
marking verified per engineers comments
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.