WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
131767
Local files should not be allowed to read pasteboard data during drag
https://bugs.webkit.org/show_bug.cgi?id=131767
Summary
Local files should not be allowed to read pasteboard data during drag
Alexey Proskuryakov
Reported
2014-04-16 15:12:54 PDT
As implemented in <
http://trac.webkit.org/changeset/6840
> for Dashboard, local files are allowed to read pasteboard data during drag, while normal documents can only do that during drop even handling. Even local documents should not be allowed to sniff content simply dragged over them, they are not that trusted. I'm going to make this a Dashboard quirk instead.
Attachments
proposed patch
(7.03 KB, patch)
2014-04-25 12:43 PDT
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2014-04-25 12:43:14 PDT
Created
attachment 230191
[details]
proposed patch
WebKit Commit Bot
Comment 2
2014-04-26 19:48:47 PDT
Comment on
attachment 230191
[details]
proposed patch Clearing flags on attachment: 230191 Committed
r167850
: <
http://trac.webkit.org/changeset/167850
>
WebKit Commit Bot
Comment 3
2014-04-26 19:48:50 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 4
2014-04-27 10:23:23 PDT
Comment on
attachment 230191
[details]
proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=230191&action=review
> Source/WebCore/page/DragController.cpp:186 > + DataTransferAccessPolicy::Readable : DataTransferAccessPolicy::TypesReadable;
Missing indentation here. I normally find that this: <long line> ? x : y; Is more readable than: <long line> ? x : y; But the code above is: <long line> ? x : y;
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug