[openstreetmap/openstreetmap-website] Blacklist all Google imagery with one regex (#1267)

Paul Norman notifications at github.com
Sat Aug 13 21:21:47 UTC 2016


This expression catches 100% of Google imagery seen in `imagery_used` with no false positives.

It won't stop someone who tries to load "https://www.google.com/maps" as imagery, but that will fail to get imagery.

Tested with JOSM, and it blocks some of the recent problems we've seen.

@pnorman
For the Data Working Group


You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1267

-- Commit Summary --

  * Blacklist all Google imagery with one regex

-- File Changes --

    M config/example.application.yml (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1267.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1267.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1267
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160813/45125bd8/attachment.html>


More information about the rails-dev mailing list