HF RL Explorer

Content Security Policy for Self and Subdomains

Content Security Policy for Self and Subdomains: a task in Terminal-Lego-15k (Harbor dataset). You are configuring Content Security Policy (CSP) headers for a web application hosted at example.com . The current CSP configuration uses default-src 'self' which only allows resources from the exact…

The task

You are configuring Content Security Policy (CSP) headers for a web application hosted at `example.com`. The current CSP configuration uses `default-src 'self'` which only allows resources from the exact origin domain, but you need to also allow resources from all subdomains (e.g., `api.example.com`,…

Part of PrimeIntellect/Terminal-Lego-15k.