Skip to content

Commit

Permalink
Merge pull request #46 from knaperek/add-sandbox-args
Browse files Browse the repository at this point in the history
Extend Sandbox supported args list
  • Loading branch information
funkaoshi committed Feb 2, 2016
2 parents 2941e58 + e354de5 commit 52f08a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions security/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,12 @@ class ContentSecurityPolicyMiddleware(object):

# sandbox allowed arguments
# http://www.w3.org/html/wg/drafts/html/master/single-page.html#sandboxing
# https://www.w3.org/TR/CSP2/
_CSP_SANDBOX_ARGS = [
'',
'allow-forms',
'allow-pointer-lock',
'allow-popups',
'allow-same-origin',
'allow-scripts',
'allow-top-navigation',
Expand Down

0 comments on commit 52f08a5

Please sign in to comment.