зеркало из https://github.com/mozilla/gecko-dev.git
Reapplying fix for bug 21686 -- can't find protocols with non-lowercased names.
This commit is contained in:
Родитель
cfef057383
Коммит
961264c355
|
@ -154,6 +154,7 @@ nsIOService::GetProtocolHandler(const char* scheme, nsIProtocolHandler* *result)
|
|||
char buf[MAX_NET_PROGID_LENGTH];
|
||||
nsCAutoString progID(NS_NETWORK_PROTOCOL_PROGID_PREFIX);
|
||||
progID += scheme;
|
||||
progID.ToLowerCase();
|
||||
progID.ToCString(buf, MAX_NET_PROGID_LENGTH);
|
||||
|
||||
rv = nsServiceManager::GetService(buf, NS_GET_IID(nsIProtocolHandler), (nsISupports **)result);
|
||||
|
|
Загрузка…
Ссылка в новой задаче