Bug 178375 - Strip away event handlers and JavaScript URLs when copying
Summary: Strip away event handlers and JavaScript URLs when copying
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-16 20:48 PDT by Ryosuke Niwa
Modified: 2017-10-16 23:26 PDT (History)
5 users (show)

See Also:


Attachments
Fixes the bug (6.56 KB, patch)
2017-10-16 20:50 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Patch for landing (6.54 KB, patch)
2017-10-16 21:08 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Patch for landing (6.98 KB, patch)
2017-10-16 21:17 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2017-10-16 20:48:31 PDT
We should strip away event handlers and JavaScript URLs when copying.
Comment 1 Ryosuke Niwa 2017-10-16 20:50:01 PDT
Created attachment 323985 [details]
Fixes the bug
Comment 2 Wenson Hsieh 2017-10-16 21:02:04 PDT
Comment on attachment 323985 [details]
Fixes the bug

r=mews
Comment 3 Ryosuke Niwa 2017-10-16 21:08:15 PDT
Created attachment 323987 [details]
Patch for landing
Comment 4 Ryosuke Niwa 2017-10-16 21:08:43 PDT
Comment on attachment 323987 [details]
Patch for landing

Wait for EWS to sanity check.
Comment 5 Ryosuke Niwa 2017-10-16 21:17:33 PDT
Created attachment 323988 [details]
Patch for landing
Comment 6 WebKit Commit Bot 2017-10-16 23:25:59 PDT
Comment on attachment 323988 [details]
Patch for landing

Clearing flags on attachment: 323988

Committed r223462: <https://trac.webkit.org/changeset/223462>
Comment 7 WebKit Commit Bot 2017-10-16 23:26:01 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2017-10-16 23:26:52 PDT
<rdar://problem/35023600>