Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix csp parsing #1731

Merged
merged 1 commit into from Feb 12, 2020
Merged

Fix csp parsing #1731

merged 1 commit into from Feb 12, 2020

Conversation

pgjones
Copy link
Member

@pgjones pgjones commented Feb 11, 2020

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 Feb 12, 2020
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
12 checks passed
@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.

None yet

2 participants