summaryrefslogtreecommitdiff
path: root/www/seamonkey2/files/patch-250862
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-09-28 03:20:33 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-09-28 03:20:33 +0000
commit235d74f9546cab8a468e95a9bfd221f3d6ec77c7 (patch)
treebc131e6e3bd475693c59629b60325e8f8cf56020 /www/seamonkey2/files/patch-250862
parentPatch the various recently reported security vulnerabilities in Mozilla. (diff)
Patch the various recently reported security vulnerabilities in Mozilla.
This update covers the following Mozilla bugs: 245066 226669 250862 255067 256316 257317 258005 Thanks to nectar for scraping all of these patches together. Obtained from: Mozilla CVS Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=118475
Diffstat (limited to 'www/seamonkey2/files/patch-250862')
-rw-r--r--www/seamonkey2/files/patch-25086222
1 files changed, 22 insertions, 0 deletions
diff --git a/www/seamonkey2/files/patch-250862 b/www/seamonkey2/files/patch-250862
new file mode 100644
index 000000000000..05423dc84195
--- /dev/null
+++ b/www/seamonkey2/files/patch-250862
@@ -0,0 +1,22 @@
+Index: mozilla/xpfe/communicator/resources/content/contentAreaDD.js
+===================================================================
+RCS file: /cvsroot/mozilla/xpfe/communicator/resources/content/contentAreaDD.js,v
+retrieving revision 1.32
+retrieving revision 1.32.88.1
+diff -u -r1.32 -r1.32.88.1
+--- xpfe/communicator/resources/content/contentAreaDD.js 10 Jul 2002 01:23:50 -0000 1.32
++++ xpfe/communicator/resources/content/contentAreaDD.js 27 Aug 2004 01:13:39 -0000 1.32.88.1
+@@ -53,8 +53,11 @@
+ {
+ var url = transferUtils.retrieveURLFromData(aXferData.data, aXferData.flavour.contentType);
+
+- // valid urls don't contain spaces ' '; if we have a space it isn't a valid url so bail out
+- if (!url || !url.length || url.indexOf(" ", 0) != -1)
++ // valid urls don't contain spaces ' '; if we have a space it
++ // isn't a valid url, or if it's a javascript: or data: url,
++ // bail out
++ if (!url || !url.length || url.indexOf(" ", 0) != -1 ||
++ /^\s*(javascript|data):/.test(url))
+ return;
+
+ switch (document.firstChild.getAttribute('windowtype')) {