From f76af9c1d3bc3bd43442aa1afe52838c9a2330e6 Mon Sep 17 00:00:00 2001 From: "mstoltz%netscape.com" Date: Wed, 4 Jun 2003 02:48:17 +0000 Subject: [PATCH] Bug 204902 - add URL loading security check to link click handler function for mailnews. r=sspitzer, sr=heikki git-svn-id: svn://10.0.0.236/trunk@143270 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/communicator/resources/content/contentAreaUtils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js b/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js index c0955c54468..03c941d65b8 100644 --- a/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js +++ b/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js @@ -104,6 +104,8 @@ function openNewWindowWith(url, sendReferrer) function openTopBrowserWith(url) { + urlSecurityCheck(url, document); + var windowMediator = Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator); var browserWin = windowMediator.getMostRecentWindow("navigator:browser");