mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
3c58ee234e
commit
221b53da65
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user