NSWDPC\Utilities\ContentSecurityPolicy\ReportingEndpoint
Synopsis
class ReportingEndpoint
extends Controller
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- // methods
- public void index()
- private void returnHeader()
- public static void getCurrentReportingUrl()
- public void report()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
private
- $allowed_actions — array
- $url_handlers — array
Methods
private
public
- getCurrentReportingUrl()
- index()
- report() — Handle reports by POST, the incoming content-type is application/csp-report, which may not be supported in the environment We use php://input to get the raw input here