<h2 dir="auto">Why are the changes necessary?</h2>
<p dir="auto">Unblocks the PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2171028430" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4562" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4562/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4562">#4562</a></p>
<p dir="auto">The <code class="notranslate">csp_meta_tag</code> does not generate a <code class="notranslate">csp-nonce</code>-tag since currently the <code class="notranslate">secure_headers</code>-gem is responsible to manage the <code class="notranslate">Content-Security-Policy</code> directives.</p>
<p dir="auto">Once <code class="notranslate">secure_headers</code>-logic is moved/delegated back to Rails the usage of <code class="notranslate">csp_meta_tag</code> is useful again. Otherwise it is a bit confusing.</p>
<p dir="auto">Once this PR is merged the CSP violation in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2171028430" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4562" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4562/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4562">#4562</a> will be solved. See more here <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2171028430" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4562" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4562/hovercard?comment_id=1532380754&comment_type=review_comment" href="https://github.com/openstreetmap/openstreetmap-website/pull/4562#discussion_r1532380754">#4562 (comment)</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4606'>https://github.com/openstreetmap/openstreetmap-website/pull/4606</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4606/commits/310bb696600dbb9b50a50d42e8e37c50fa2c75c2" class="commit-link">310bb69</a>  layouts/_head.html.erb: Replace csp_meta_tag w/ `secure_headers` nonce</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4606/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4606/files#diff-be8f1d8caac1cf1a1c9cb4b0d463d6a89b19a833e289db8a9768457a3f63fa5f">app/views/layouts/_head.html.erb</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4606.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4606.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4606.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4606.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4606">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLEGXTZ5IM62FTVMUDYZK6KFAVCNFSM6AAAAABFBHRCVGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TSOBYHE2TQNA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJ2VHSM2BBN2FNP6A3YZK6KFA5CNFSM6AAAAABFBHRCVGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHIGH5GWA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4606</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4606",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4606",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>