UNCONFIRMED 29610
fix to #22476 is overly restrictive
https://bugs.webkit.org/show_bug.cgi?id=29610
Summary fix to #22476 is overly restrictive
Fredrik Engquist
Reported 2009-09-21 13:50:26 PDT
the fix as laid out in http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/editing/pasteboard/dataTransfer-set-data-file-url.html?rev=39893 completely breaks the drag and drop features in our browser based media library. Scenario: The media library in question allows users on an internal network the possibility to drag and drop images from Safari to InDesign and other applications on the local Mac. The dragevent used supplies a file-URL to the applications which e.g. means that images are placed in InDesign using a local file path to an AFP volume (file:///Volumes/Images/Image1.jpg). In order for InDesign to recognise this as a file path so that is places the image with a correct link then this has to be a URL. Plain text type will only place the actual text in InDesign. This works perfectly in Safari 3, but is broken in Safari 4 because the document isn't local, it's served by a web server on the intranet. I understand the reasoning behind the fix but the remedy is too broad and restrictive. We need to be able to create file URLs that actually end up in the Pasteboard even if the document isn't local.
Attachments
Note You need to log in before you can comment on or make changes to this bug.