From fc3b63613ba55d1b6be8578711443b8bf91a9f63 Mon Sep 17 00:00:00 2001 From: Shinichi Urabe Date: Wed, 9 Mar 2016 23:13:48 +0900 Subject: [PATCH 2/3] (refs #3775) It was also corresponds to the case where the slash comes at the end of the googlemap url. --- 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 fc25675..6711bd2 100644 --- a/web/cmd/maps.google.co.jp.js +++ b/web/cmd/maps.google.co.jp.js @@ -1,5 +1,5 @@ function url2cmd(url, googlemapsUrl) { - var maps_google_co_jp_maps = url.match(/^https?:\/\/maps\.google\.co\.jp\/maps\?(.+)/); + var maps_google_co_jp_maps = url.match(/^https?:\/\/maps\.google\.co\.jp\/maps[\?\/](.+)/); var maps_google_co_jp = url.match(/^https?:\/\/maps\.google\.co\.jp\/\?(.+)/); if (maps_google_co_jp_maps || maps_google_co_jp) { -- 2.7.1.287.g4943984