unsafestrictcsp

package
v0.0.0-...-f115076 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL