getting ftp:// urls working. Ftp urls to a file will work.
Still ftp directory and ftp authentication need implementation. git-svn-id: svn://10.0.0.236/trunk@24621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user