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
F15861177: D19154.id45885.diff
Sat, May 31, 7:40 AM
F15809737: D19154.id.diff
Fri, May 30, 1:55 PM
Unknown Object (File)
Thu, May 29, 7:11 AM
Unknown Object (File)
Sun, May 25, 2:31 PM
Unknown Object (File)
Apr 29 2025, 3:46 PM
Unknown Object (File)
Apr 29 2025, 8:22 AM
Unknown Object (File)
Apr 27 2025, 7:28 AM
Unknown Object (File)
Apr 25 2025, 1:33 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.