feat(security): explicitly whitelist URL schemes for bootstrap. (#15427)
Many browsers have some extension URL scheme. It is unclear how many of those have the security issue of allowing parser-inserted loads of extension URLs. To be conservative, this code whitelists the URL schemes that are known to be subject to CSP, i.e. the ones that are expected and safe.
M
Martin Probst committed
4edd2d95c11819ece2dda6e65f95f32638fda218
Parent: 353e3a6
Committed by Peter Bacon Darwin <pete@bacondarwin.com>
on 11/24/2016, 9:25:34 AM