зеркало из https://github.com/mozilla/pjs.git
Get the source scheme from the right URI object. Bug 368160, r+sr=dveditz
This commit is contained in:
Родитель
06538a5464
Коммит
ec7b93b809
|
@ -1278,7 +1278,7 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal,
|
|||
|
||||
//-- get the source scheme
|
||||
nsCAutoString sourceScheme;
|
||||
rv = sourceURI->GetScheme(sourceScheme);
|
||||
rv = sourceBaseURI->GetScheme(sourceScheme);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
if (targetScheme.Equals(sourceScheme,
|
||||
|
|
Загрузка…
Ссылка в новой задаче