<p>This blacklist is for imagery which is of an incompatible license or ToS but is incorrectly used with some frequency.</p>

<p>This adds a  element to the capabilities XML which contains the blacklist information within it.</p>

<p><a href="https://github.com/tomhughes" class="user-mention">@tomhughes</a>, could you deploy this branch on errol for testing?</p>

<p>Also, when doing so could you add <code>- ".*\\.stamen\\.com/.*"</code> to application.yml? We need something blocked to test with, and stamen has layers that are unlikely to be in any presets or used.</p>

<p>Fixes <a href="https://trac.openstreetmap.org/ticket/5024">trac 5024</a></p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/pnorman/openstreetmap-website blacklist</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/806'>https://github.com/openstreetmap/openstreetmap-website/pull/806</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add an imagery blacklist to capabilities</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/806/files#diff-0">app/controllers/api_controller.rb</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/806/files#diff-1">config/example.application.yml</a>
    (5)
  </li>
</ul>

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

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/806">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNTAwODQxMywiZGF0YSI6eyJpZCI6NDExMjY2Mzd9fQ==--51f1d3c67eab2af7d738a49afe740659ff7ed3e6.gif" width="1" /></p>