Content Security Policy hash not recognized by Safari 11.0.3
问题 I have a meta tag with the following directive inside of it: <meta http-equiv="Content-Security-Policy" content="base-uri 'self'; script-src 'self' 'sha256-s5EeESrvuQPpk2bpz5I3zn/R8Au2DYB1Z+YUH9p0fUE=' 'sha256-PYYfGnkbZ44B9ZBpgv8NbP3MXT560LMfrDSas2BveJo=';"> I then have 2 inline scripts further down the page, each which should match one of the generated shas in the policy. In Chrome and Firefox, I get no complaints and my scripts run as expected. In Safari Version 11.0.3 (13604.5.6), I get