From 4e7fb741a2f9c1c78e82cdb0a373dddfa7dcb4de Mon Sep 17 00:00:00 2001 From: "suresh%netscape.com" Date: Wed, 7 Mar 2001 05:58:45 +0000 Subject: [PATCH] Adding aim protocol to the list. No Specific bug number. r=syd. sr=mstoltz git-svn-id: svn://10.0.0.236/trunk@88797 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/caps/src/nsScriptSecurityManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/caps/src/nsScriptSecurityManager.cpp b/mozilla/caps/src/nsScriptSecurityManager.cpp index 7fa83fd0b44..f8419df19a6 100644 --- a/mozilla/caps/src/nsScriptSecurityManager.cpp +++ b/mozilla/caps/src/nsScriptSecurityManager.cpp @@ -550,7 +550,7 @@ NS_IMETHODIMP nsScriptSecurityManager::CheckLoadURI(nsIURI *aSourceURI, nsIURI *aTargetURI, PRUint32 aFlags) { - nsCOMPtr jarURI; + nsCOMPtr jarURI; nsCOMPtr sourceUri(aSourceURI); while((jarURI = do_QueryInterface(sourceUri))) jarURI->GetJARFile(getter_AddRefs(sourceUri)); @@ -604,6 +604,7 @@ nsScriptSecurityManager::CheckLoadURI(nsIURI *aSourceURI, nsIURI *aTargetURI, { "ftp", AllowProtocol }, { "about", AllowProtocol }, { "mailto", AllowProtocol }, + { "aim", AllowProtocol }, { "data", AllowProtocol }, { "keyword", DenyProtocol }, { "resource", DenyProtocol },