From e838a12a7b33de0bba80395a1141ac78ddfbf314 Mon Sep 17 00:00:00 2001 From: Shinichi Urabe Date: Thu, 10 Mar 2016 00:32:07 +0900 Subject: [PATCH 4/5] Modified so that each parameter to match the case where one or more characters (refs #3775) --- web/cmd/maps.google.co.jp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/cmd/maps.google.co.jp.js b/web/cmd/maps.google.co.jp.js index be6464d..d2dced0 100644 --- a/web/cmd/maps.google.co.jp.js +++ b/web/cmd/maps.google.co.jp.js @@ -12,7 +12,7 @@ function url2cmd(url, googlemapsUrl) { function main(id, googlemapsUrl) { var param = { lon: 0, lat: 0, z: 15, t: '', q: '' }; - var result = id.match(/@([0-9\.]*),([0-9\.]*),([0-9]*z)/); + var result = id.match(/@([0-9\.]+),([0-9\.]+),([0-9]+z)/); if (result) { param.lon = result[1]; -- 2.7.1.287.g4943984