]> git.openstreetmap.org Git - rails.git/commitdiff
variant B
authorhlfan <50826859+hlfan@users.noreply.github.com>
Sat, 9 Apr 2022 20:28:01 +0000 (22:28 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Apr 2022 20:28:01 +0000 (22:28 +0200)
Reducing regex complexity and broadening the domain match

config/settings.yml

index 316744f314450eaaaede7ce9037e8ffe0842a64c..e0e844778f6fc1eeab8a6f7cb52ded25a2db0f4f 100644 (file)
@@ -86,8 +86,7 @@ default_editor: "id"
 # Imagery to return in capabilities as blacklisted
 imagery_blacklist:
   # Current Google imagery URLs have google or googleapis in the domain
-  # with a vt or kh endpoint, and x, y and z or pb-based query parameters
-  - ".*\\.google(apis)?\\..*/(vt|kh)[\\?/].*([xyz]=.*|!\d[a-z]\d+){3}.*"
+  - ".*\\.google(apis)?\\..*/.*"
   # Blacklist VWorld
   - "http://xdworld\\.vworld\\.kr:8080/.*"
   # Blacklist here