зеркало из https://github.com/mozilla/pjs.git
Bug 633666 - Ignore return code from GetHost in PathifyURI, r=bsmedberg a=shaver
This commit is contained in:
Родитель
1754f0de03
Коммит
703b31172a
|
@ -862,8 +862,8 @@ PathifyURI(nsIURI *in, nsACString &out)
|
|||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
out.Append(scheme);
|
||||
nsCAutoString host;
|
||||
rv = in->GetHost(host);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
// OK for GetHost to fail since it's not implemented sometimes
|
||||
in->GetHost(host);
|
||||
#ifdef MOZ_OMNIJAR
|
||||
if (scheme.Equals("resource") && host.Length() == 0){
|
||||
host = "gre";
|
||||
|
|
Загрузка…
Ссылка в новой задаче