Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

add content-type application/xss-auditor-report #1243

Merged
merged 1 commit into from
Dec 3, 2018
Merged

add content-type application/xss-auditor-report #1243

merged 1 commit into from
Dec 3, 2018

Conversation

theMiddleBlue
Copy link
Contributor

As done for CSP (#1242) When X-Xss-Protection header is configured with a self-referenced report URI (ex. report-uri /xss-report.php) the browser sends a POST request with Content-Type: application/xss-auditor-report that is blocked by CRS rule 920420: Request content type is not allowed by policy.

I've added the application/xss-auditor-report in:
crs-setup.conf.example on rule 900200
rules/REQUEST-901-INITIALIZATION.conf on rule 901162

@franbuehler
Copy link
Contributor

Looks good. Can be merged.

@dune73
Copy link
Contributor

dune73 commented Dec 3, 2018

Thank you @theMiddleBlue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants