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
Unknown Object (File)
Thu, Nov 14, 4:04 AM
Unknown Object (File)
Sat, Nov 9, 2:59 PM
Unknown Object (File)
Oct 14 2024, 1:29 PM
Unknown Object (File)
Oct 13 2024, 9:09 PM
Unknown Object (File)
Oct 12 2024, 12:16 PM
Unknown Object (File)
Oct 12 2024, 9:48 AM
Unknown Object (File)
Oct 11 2024, 4:47 PM
Unknown Object (File)
Oct 11 2024, 12:43 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.