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

Allow to pass options to csp_meta_tag #35269

Merged
merged 1 commit into from
Feb 16, 2019

Commits on Feb 16, 2019

  1. Allow to pass options to csp_meta_tag

    Currently `csp_meta_tag` generates `name` attribute only.
    However, in libraries like `Material-UI` and `JSS`, expect that the meta tag
    that contains the nonce with `property` attribute.
    
    https://material-ui.com/css-in-js/advanced/#how-does-one-implement-csp
    https://github.com/cssinjs/jss/blob/master/docs/csp.md
    
    This patch allows `csp_meta_tag` to specify arbitrary options and
    allows `nonce` to be passed to those libraries.
    y-yagi committed Feb 16, 2019
    Configuration menu
    Copy the full SHA
    9693733 View commit details
    Browse the repository at this point in the history