[openstreetmap/openstreetmap-website] Blacklist all Google imagery with one regex (#1267)
Paul Norman
notifications at github.com
Sun Aug 14 05:18:22 UTC 2016
> I guess that also fails for google.co.uk and the like that have more than one trailing component :-(
And google.com.au. I'm prepared to assume that a two or three letter second level domain with the last subdomain ending in `google(?:apis)?` is Google. If we can keep it as simple as possible is an advantage, because regular expressions can be hard to read.
--
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#issuecomment-239656697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160813/3cc44c3b/attachment.html>
More information about the rails-dev
mailing list