This allows clicked "finger:" links to work. r=norris@netscape.com.

This commit is contained in:
bryner%uiuc.edu 2000-02-26 23:37:08 +00:00
parent 8fa3c570dc
commit f28f63a5d7

View File

@ -490,6 +490,7 @@ nsScriptSecurityManager::CheckLoadURI(nsIURI *aFromURI, nsIURI *aURI,
nsCRT::strcmp(scheme, "javascript") == 0 ||
nsCRT::strcmp(scheme, "ftp") == 0 ||
nsCRT::strcmp(scheme, "mailto") == 0 ||
nsCRT::strcmp(scheme, "finger") == 0 ||
nsCRT::strcmp(scheme, "news") == 0)
{
// everyone can access these schemes.