Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report-uri gets wrongly encoded #60

Closed
cleptric opened this issue Jan 19, 2023 · 1 comment · Fixed by #61
Closed

report-uri gets wrongly encoded #60

cleptric opened this issue Jan 19, 2023 · 1 comment · Fixed by #61

Comments

@cleptric
Copy link

Since version 2.8.0, the report-uri is wrongly encoded when injecting the CSP header.

2.8.0

report-uri https%3A//

2.7.0

report-uri https://...

This leads to a 404 if a CSP violation happens, as the browser prefixes the request with the local URL.

@danieltott
Copy link
Contributor

Same issue here. Filed a PR: #61

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

Successfully merging a pull request may close this issue.

2 participants