{"action":"closed","issue":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/5296","repository_url":"https://api.github.com/repos/gohugoio/hugo","labels_url":"https://api.github.com/repos/gohugoio/hugo/issues/5296/labels{/name}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/5296/comments","events_url":"https://api.github.com/repos/gohugoio/hugo/issues/5296/events","html_url":"https://github.com/gohugoio/hugo/issues/5296","id":367847383,"node_id":"MDU6SXNzdWUzNjc4NDczODM=","number":5296,"title":"Fingerprinting and SRI ordering issue","user":{"login":"onedrawingperday","id":7918298,"node_id":"MDQ6VXNlcjc5MTgyOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7918298?v=4","gravatar_id":"","url":"https://api.github.com/users/onedrawingperday","html_url":"https://github.com/onedrawingperday","followers_url":"https://api.github.com/users/onedrawingperday/followers","following_url":"https://api.github.com/users/onedrawingperday/following{/other_user}","gists_url":"https://api.github.com/users/onedrawingperday/gists{/gist_id}","starred_url":"https://api.github.com/users/onedrawingperday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onedrawingperday/subscriptions","organizations_url":"https://api.github.com/users/onedrawingperday/orgs","repos_url":"https://api.github.com/users/onedrawingperday/repos","events_url":"https://api.github.com/users/onedrawingperday/events{/privacy}","received_events_url":"https://api.github.com/users/onedrawingperday/received_events","type":"User","site_admin":false},"labels":[{"id":46429356,"node_id":"MDU6TGFiZWw0NjQyOTM1Ng==","url":"https://api.github.com/repos/gohugoio/hugo/labels/Bug","name":"Bug","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/gohugoio/hugo/milestones/79","html_url":"https://github.com/gohugoio/hugo/milestone/79","labels_url":"https://api.github.com/repos/gohugoio/hugo/milestones/79/labels","id":3650621,"node_id":"MDk6TWlsZXN0b25lMzY1MDYyMQ==","number":79,"title":"v0.50","description":"","creator":{"login":"bep","id":394382,"node_id":"MDQ6VXNlcjM5NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":27,"state":"open","created_at":"2018-09-13T06:18:24Z","updated_at":"2018-10-27T09:34:16Z","due_on":"2018-10-29T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-10-08T15:39:09Z","updated_at":"2018-10-27T09:34:16Z","closed_at":"2018-10-27T09:34:16Z","author_association":"CONTRIBUTOR","body":"It seems that to generate the SHA value for an inline script we need to wrap it within a `{{ if  $secureJS.Content }}{{ end }}` before accessing the integrity.\r\n\r\nAlso see related Forum topic: https://discourse.gohugo.io/t/generate-inline-script-sha-for-content-security-policy/14627"}}
{"actor":{"display_login":"bep"}}