Skip to content

Fix csp parsing - #1731

Merged
davidism merged 1 commit into
pallets:1.0.xfrom
pgjones:csp
Feb 12, 2020
Merged

Fix csp parsing#1731
davidism merged 1 commit into
pallets:1.0.xfrom
pgjones:csp

Conversation

@pgjones

@pgjones pgjones commented Feb 11, 2020

Copy link
Copy Markdown
Member

There may not be a content security policy header to parse, in which
case the value by default is None. Therefore rather than erroring this
change returns an empty ContentSecurityPolicy datastructure.

(This is the same logic as for Cache Control headers).

@pgjones
pgjones changed the base branch from master to 1.0.x February 12, 2020 09:01
There may not be a content security policy header to parse, in which
case the value by default is None. Therefore rather than erroring this
change returns an empty ContentSecurityPolicy datastructure.

(This is the same logic as for Cache Control headers).
@davidism davidism added this to the 1.0.1 milestone Feb 12, 2020
@davidism
davidism merged commit 4555048 into pallets:1.0.x Feb 12, 2020
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants