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)
Sat, Jun 13, 2:24 AM
Unknown Object (File)
Apr 17 2026, 9:47 PM
Unknown Object (File)
Mar 31 2026, 7:40 PM
Unknown Object (File)
Mar 29 2026, 4:41 PM
Unknown Object (File)
Mar 3 2026, 8:34 PM
Unknown Object (File)
Mar 3 2026, 1:00 AM
Unknown Object (File)
Jan 16 2026, 7:56 PM
Unknown Object (File)
Jan 9 2026, 10:44 AM
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.