Page MenuHomePhabricator

Block use of "<base />" in the Content Security Policy
ClosedPublic

Authored by epriestley on Mar 1 2018, 2:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 7:28 PM
Unknown Object (File)
Sat, Apr 6, 2:25 AM
Unknown Object (File)
Tue, Apr 2, 12:44 AM
Unknown Object (File)
Mon, Apr 1, 8:42 AM
Unknown Object (File)
Mar 23 2024, 5:44 PM
Unknown Object (File)
Mar 20 2024, 4:54 AM
Unknown Object (File)
Mar 20 2024, 3:38 AM
Unknown Object (File)
Mar 5 2024, 8:04 AM
Subscribers
None

Details

Summary

Ref T4340. We don't use "<base />" so we can safely block it.

Test Plan

Injected "<base />" into a page, saw an error in the console showing that the browser had blocked it.

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, 2:55 AM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.