Skip to content

Commit

Permalink
Ban usage from of copyrighted imagery from mapy.cz
Browse files Browse the repository at this point in the history
I went through the changesets and most of them use directly `mapserver.mapy.cz` (some older used `mX.mapserver.mapy.cz` so I hope this regex should work and would not cause any false positives.

Fixes #9708
  • Loading branch information
Jakuje authored Jun 23, 2023
1 parent 446133d commit fa329f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/validations/incompatible_source.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export function validationIncompatibleSource() {
id: 'google',
regex: /google/i,
exceptRegex: /((books|drive)\.google|google\s?(books|drive|plus))|(esri\/Google_Africa_Buildings)/i
},
{
id: 'mapy.cz',
regex: /mapy.cz/i
}
];

Expand Down

0 comments on commit fa329f0

Please sign in to comment.