Page MenuHomePhabricator

VisualEditor: It should not be possible to paste images from external websites into the references dialog
Closed, ResolvedPublic

Description

Intention:
Replicate a mess seen at https://pt.wikipedia.org/w/index.php?title=Esporte_Clube_Pelotas&curid=68824&diff=38075497&oldid=38075466

Steps to Reproduce:

  1. Start creating a new reference.
  2. Open nytimes.com and select both some text and one small image.
  3. Copy the selection and paste it into the ref dialog box.

Actual Results:
In Safari, nothing pastes. In Firefox, both text and image rich-paste into the ref dialog box, but I can't save the page.

Expected Results:
That the image would be discarded, since it's not uploaded to the wiki.

Reproducible: Sometimes


Version: unspecified
Severity: normal

Details

Reference
bz60780

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:06 AM
bzimport set Reference to bz60780.

AFAICT this is now completely fixed; however, in testing this I uncovered bug 72385 which is sigh-inducing.