Documentation ¶
Overview ¶
Package unsafestrictcsp can be used to disable Strict CSP protections on specific handler registration.
Usage of this package should require a security review.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disable ¶
func Disable(reason string, skipReports bool) internalunsafecsp.DisableStrict
Disable switches Strict CSP to report-only. If skipReports is true, it will completely disable it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.