Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Won't parse chrome csp reports #1

Open
bachi76 opened this issue Jul 1, 2015 · 1 comment
Open

Won't parse chrome csp reports #1

bachi76 opened this issue Jul 1, 2015 · 1 comment

Comments

@bachi76
Copy link

bachi76 commented Jul 1, 2015

Just a guess: Your code won't parse chrome's csp reports, while FF works.
Because chrome uses application/csp-report as mime type, not application/json - and then Play refuses to parse the body as json. Simple solution (after 2h debugging) - use @BodyParser.Of(BodyParser.TolerantJson.class) ...

@franzgranlund
Copy link
Member

Thanks, I will look into this!

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

No branches or pull requests

2 participants