Closed AltamashShaikh closed 3 years ago
Looks good to me @justinvelluppillai
Could check if a host was actually returned by parse_url($customSiteUrl, PHP_URL_HOST)
but as we're checking that the configured url looks like a URL I suppose this should be always the case anyway.
@tsteur Added check for host
Description:
Added code to update CSP policy header based on custom site url, Fixes: #59
Review