[BUG] POST https://discourse.mozilla.org/csp_reports 404 (Not Found)
Categories
(Participation Infrastructure :: Community Ops, defect)
Tracking
(Not tracked)
People
(Reporter: kmehant, Unassigned)
Details
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Steps to reproduce:
- Visit https://discourse.mozilla.org/c/reps
- Open the console
Actual results:
When I visited the https://discourse.mozilla.org/c/reps the web client is making calls to https://discourse.mozilla.org/csp_reports throwing a 404. That call might be UnAuthorized or may be the resource might not exist. Both the ways of making such a call irrespective of the user or guest privileges would be a bad thing.
Expected results:
If this is due to UnAuthorized act
For guest, the client should make a call to https://discourse.mozilla.org/csp_reports
If the resource is missing 404, then we have to work on the codebase. The link might be broken.
Updated•4 years ago
|
Updated•2 years ago
|
The 404 error from the csp_reports endpoint usually means the Content Security Policy report URI isn’t configured correctly on the server. It’s not an authorization problem but a missing or invalid route. Adjusting the CSP settings or adding the endpoint will resolve it, ensuring a smoother, custom limousine–level web performance.
Description
•