Small tweak to fix for bug 72583 because of fix to 97983: use 'url_Path' instead of 'url_Directory' r=brade, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-09-20 14:08:35 +00:00
parent 3c58ee234e
commit 221b53da65

View File

@ -1301,8 +1301,8 @@ function MakeRelativeUrl(url)
return inputUrl;
// Get just the file path part of the urls
var docPath = IOService.extractUrlPart(docUrl, IOService.url_Directory, {start:0}, {end:0});
var urlPath = IOService.extractUrlPart(inputUrl, IOService.url_Directory, {start:0}, {end:0});
var docPath = IOService.extractUrlPart(docUrl, IOService.url_Path, {start:0}, {end:0});
var urlPath = IOService.extractUrlPart(inputUrl, IOService.url_Path, {start:0}, {end:0});
// We only return "urlPath", so we can convert
// the entire docPath for case-insensitive comparisons