Re: Patch to bxeConfig.js

"Jean Jordaan" <[email protected]> Sun, 14 Jan 2007 21:21:57 +0200
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
Hi again

> I don't know if this is the best way, and there may be other vulnerable
> spots in BXE.

I think I've just found another one. In 'mozile/domlevel3.js'

function documentSaveXML(snode)
{
	[...]
	for(var i in ns ) {
		if (i == "xmlns") {
			snode.setAttributeNS(XMLNS,"xmlns",ns[i]);
		} else {
			snode.setAttributeNS(XMLNS,"xmlns:" + i , ns[i]);
		}
	}

Breaks with 'snode.setAttributeNS' undefined, and 'i' equal to
'contains', the name of one of the functions that kupu puts on
Array.prototype
No breakage without the kupu code. So the previous fix is not sufficient ..

-- 
jean                                              . .. .... //\\\oo///\\
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users