Skip to content

Django CSP error on redoc page when DEBUG=True #181

@danielmursa-dev

Description

@danielmursa-dev

Product versie / Product version

0.12.0

Omschrijf het probleem / Describe the bug

It seems that when DEBUG=True, Django automatically adds a nonce-{token} to the CSP. This causes unsafe-inline to be ignored, although it's unclear why this happens.

Info: maykinmedia/open-klant#485 (comment)

Stappen om te reproduceren / Steps to reproduce

No response

Verwacht gedrag / Expected behavior

No response

Metadata

Metadata

Labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions