From 4a6a759e85a0d0bbbabb1bb4c9e28ec60f7afce0 Mon Sep 17 00:00:00 2001 From: srowen Date: Sun, 31 Jul 2011 19:37:13 +0000 Subject: [PATCH] Per Lachezar, look for any Google Maps domain here git-svn-id: https://zxing.googlecode.com/svn/trunk@1870 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../google/zxing/web/generator/client/GeoLocationGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java b/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java index 724a7e05f..62b19722e 100644 --- a/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java +++ b/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java @@ -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 = "";