Documentation
¶
Overview ¶
Package internalunsafecsp is used internally to override CSP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RandReader = rand.Reader
RandReader is a source of random.
Functions ¶
This section is empty.
Types ¶
type DisableStrict ¶
type DisableStrict struct { // SkipReports completely disables Strict CSP. SkipReports bool }
DisableStrict switches Strict CSP to report-only.
type DisableTrustedTypes ¶
type DisableTrustedTypes struct { // SkipReports completely disables TT. SkipReports bool }
DisableTrustedTypes switches TT to report-only.
Directories
¶
Path | Synopsis |
---|---|
Package unsafecspfortests can be used to disable CSP on specific handler registration in tests.
|
Package unsafecspfortests can be used to disable CSP on specific handler registration in tests. |
Package unsafestrictcsp can be used to disable Strict CSP protections on specific handler registration.
|
Package unsafestrictcsp can be used to disable Strict CSP protections on specific handler registration. |
Package unsafetrustedtypes can be used to disable Trusted Types protections on specific handler registration.
|
Package unsafetrustedtypes can be used to disable Trusted Types protections on specific handler registration. |
Click to show internal directories.
Click to hide internal directories.