Page MenuHomePhabricator

Add "object-src 'none'" to the Content-Security-Policy
ClosedPublic

Authored by epriestley on Feb 28 2018, 10:17 PM.
Tags
None
Referenced Files
F18746888: D19154.id.diff
Fri, Oct 3, 1:50 PM
F18659477: D19154.diff
Sep 23 2025, 12:42 PM
F18575697: D19154.id.diff
Sep 10 2025, 1:39 PM
F18574705: D19154.id.diff
Sep 10 2025, 11:36 AM
F18529231: D19154.id.diff
Sep 6 2025, 11:12 PM
F18509366: D19154.id.diff
Sep 5 2025, 3:22 AM
F18502268: D19154.diff
Sep 4 2025, 10:19 PM
F18467838: D19154.id.diff
Sep 2 2025, 1:40 PM
Subscribers
None

Details

Summary

See PHI399. Ref T4340. We don't require Flash/Java anywhere and can safely block them unconditionally in the Content-Security-Policy header.

Test Plan

Added a <object ... /> tag to a page, saw "Blocked Plug-In" and a CSP warning in the browser console.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 1 2018, 1:19 AM
This revision was automatically updated to reflect the committed changes.