mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
Part of fix for nsbeta2+ bug # 28787: FTP listings of non-ascii filenames. r=me
This commit is contained in:
parent
041e618c8e
commit
d510542259
@ -55,10 +55,15 @@ function Init()
|
||||
}
|
||||
debug("base URL = " + baseURI + "\n");
|
||||
|
||||
// Note: set encoding for FTP URLs BEFORE setting "ref"
|
||||
HTTPIndex.encoding = "ISO-8859-1";
|
||||
|
||||
// re-root the tree
|
||||
tree.setAttribute("ref", baseURI);
|
||||
}
|
||||
|
||||
|
||||
|
||||
function OnClick(event)
|
||||
{
|
||||
if( event.type == "click" &&
|
||||
|
Loading…
Reference in New Issue
Block a user