mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
getting ftp:// urls working. Ftp urls to a file will work.
Still ftp directory and ftp authentication need implementation.
This commit is contained in:
parent
13372716ec
commit
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);
|
||||
|
Loading…
Reference in New Issue
Block a user