csp_allows: Tests for what a parsed CSP allows

Description Usage Arguments Value References

Description

Tests for what a parsed CSP allows

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

Arguments

csp

a csp object created with fetch_csp() or parse_csp()

URL

source or destination URL

nonce

a cryptographic nonce

Value

logical

References

Content Security Policy Level 3


hrbrmstr/cspy documentation built on May 20, 2019, 12:35 p.m.