Commit 3f1531e
docs(shared): clarify previewClientIdScriptHtml no-nonce branch
The existing docstring claimed pds-core "doesn't set a CSP on preview
pages", which was misleading — pds-core's /preview/consent route does
set a CSP, it just uses 'unsafe-inline' rather than a nonce. Reword
so the no-nonce branch is explicitly described as for CSPs that allow
inline scripts without a nonce.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 1c1ab1e commit 3f1531e
1 file changed
Lines changed: 3 additions & 2 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | | - | |
491 | | - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
| |||
0 commit comments