Page MenuHomePhabricator

VisualEditor: Bad things happen when you paste cruft-laden text from somewhere else
Closed, ResolvedPublic

Description

An editor pasted text at the newly created https://en.wikipedia.org/w/index.php?title=Kalles_Fraktaler&oldid=624532595

which resulted in this when the page was saved:

<object type="cosymantecnisbfw" cotype="cs" id="cosymantecnisbfw" style="width: 0px; height: 0px; display: block;"></object><object type="cosymantecnisbfw" cotype="bgpage" id="cosymantecnisbfwbg" style="width: 0px; height: 0px; display: block;"></object><script type="text/javascript" defer="defer" id="NortonInternetSecurityBF" tab="0" browser="0">function NavigateTo(url, newWindow) { var myObject = new Object(); myObject.url = url; myObject.newWindow = newWindow; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('symcBFNavigateTo', false, false, myObject); document.dispatchEvent(theEvent); } function ChangeToolbarIcon(inText, inImage) { var myObject = new Object(); myObject.text = inText; myObject.image = inImage; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('changeToolbarIconEventHandler', false, false, myObject); document.dispatchEvent(theEvent); } function DimPage() { dimElement = document.createElement('div'); dimElement.id = 'coShastaDimDiv'; dimElement.style.cssText = 'z-index:10;width:100%;height:100%;background-color:black;opacity:0.60;position:absolute;top:0;left:0;'; var theBody = document.getElementsByTagName('body')[0]; theBody.appendChild(dimElement); } function NPNNew() { theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('symcBFActivate', false, false, 0); document.dispatchEvent(theEvent); } function UpdatePageStatus(inURL) { var myObject = new Object(); myObject.blockURL = inURL; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('updatePageStatusEventHandler', false, false, myObject); document.dispatchEvent(theEvent);}function UpdateToolbarMenu(inSafeSearch) { var myObject = new Object(); myObject.SafeSearch = inSafeSearch; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('updateToolbarMenuEventHandler', false, false, myObject); document.dispatchEvent(theEvent);}function SetBarVisibility(barstatus) { var myObject = new Object(); myObject.barstatus = barstatus; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('setBarVisibilityEventHandler', false, false, myObject); document.dispatchEvent(theEvent);}function SetCachedStrings(inText, inImage, inTextNA, inImageNA) { var myObject = new Object(); myObject.text = inText; myObject.image = inImage; myObject.textNA = inTextNA; myObject.imageNA = inImageNA; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('setCachedStringsEventHandler', false, false, myObject); document.dispatchEvent(theEvent); } function SetResourceFolder(inFolder) { var myObject = new Object(); myObject.resFolder = inFolder; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('setResourceFolderEventHandler', false, false, myObject); document.dispatchEvent(theEvent); } function SetSafeSearchValues(isSSEinPrefs, isSSEinSafeMgr,isBuzz, showMyAccount) { var myObject = new Object(); myObject.showMyAccount = showMyAccount; myObject.isSSEinPrefs = isSSEinPrefs; myObject.isBuzz=isBuzz; myObject.isSSEinSafeMgr=isSSEinSafeMgr; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('setSafeSearchValuesEventHandler', false, false, myObject); document.dispatchEvent(theEvent); } function ShowSafeSearchOffering() {theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('symcShowSafeSearchOffering', false, false, 0); document.dispatchEvent(theEvent); } function SafeSearchOfferResponded() {theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('symcSafeSearchOfferResponded', false, false, 0); document.dispatchEvent(theEvent); } function SetSearchString(inQuery) { var myObject = new Object(); myObject.query = inQuery; theEvent = document.createEvent('CustomEvent'); theEvent.initCustomEvent('symcSetSearchString', false, false, myObject); document.dispatchEvent(theEvent); } </script><object type="cosymantecnisbfw" cotype="cs" id="SILOBFWOBJECTID" style="width: 0px; height: 0px; display: block;"></object> Kalles Fraktaler is a Windows-based fractal zoom computer program used for zooming into the Mandelbrot set or the Burning Ship fractal. <object type="cosymantecnisbfw" cotype="cs" id="SILOBFWOBJECTID" style="width: 0px; height: 0px; display: block;"></object>

cosymantecnisbfw appears to be related to NortonInternetSecurityBF


Version: unspecified
Severity: normal

Details

Reference
bz70537

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:57 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz70537.
  • This bug has been marked as a duplicate of bug 63229 ***