зеркало из https://github.com/mozilla/gecko-dev.git
getting ftp:// urls working. Ftp urls to a file will work.
Still ftp directory and ftp authentication need implementation.
This commit is contained in:
Родитель
13372716ec
Коммит
77d4592bed
|
@ -102,6 +102,8 @@ NS_InitializeHttpURLFactory(nsINetService* inet)
|
|||
if (rv != NS_OK) goto done;
|
||||
|
||||
// XXX Hacks until we have real urlf objects for these...
|
||||
inet->RegisterProtocol(*new nsString("ftp"), urlf, NULL);
|
||||
if (rv != NS_OK) goto done;
|
||||
inet->RegisterProtocol(*new nsString("resource"), urlf, NULL);
|
||||
if (rv != NS_OK) goto done;
|
||||
inet->RegisterProtocol(*new nsString("file"), urlf, NULL);
|
||||
|
|
Загрузка…
Ссылка в новой задаче