Per Lachezar, look for any Google Maps domain here

git-svn-id: https://zxing.googlecode.com/svn/trunk@1870 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2011-07-31 19:37:13 +00:00
parent 711e746900
commit 4a6a759e85

View file

@ -204,7 +204,7 @@ public class GeoLocationGenerator implements GeneratorSource, ChangeListener {
protected void fillWithMaps() {
String link = mapsLink.getText();
if (!link.matches("http://maps.google.com/.*")) {
if (!link.startsWith("http://maps.google.")) {
return;
}
String q = "";