Add an imagery blacklist to capabilities

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

This adds a <policy> element to the capabilities XML which contains the
blacklist information within it
This commit is contained in:
Paul Norman 2014-08-30 01:32:35 -07:00 committed by Tom Hughes
parent ace4da4f82
commit 2d26d1f764
2 changed files with 14 additions and 1 deletions

View file

@ -84,6 +84,11 @@ defaults: &defaults
require_terms_seen: false
# Whether to require users to agree to the CTs before editing
require_terms_agreed: false
# Imagery to return in capabilities as blacklisted
imagery_blacklist:
- ".*\\.googleapis\\.com/.*"
- ".*\\.google\\.com/.*"
- ".*\\.google\\.ru/.*"
development:
<<: *defaults