From 89b6de36510a8c4e75c84ba90a325cefe49a2d91 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Fri, 27 Apr 2018 23:21:46 -0400 Subject: [PATCH] URL encode the place name in the google maps embeded api iframe --- get_together/templates/get_together/places/show_place.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_together/templates/get_together/places/show_place.html b/get_together/templates/get_together/places/show_place.html index 0293875..7c7f6ed 100644 --- a/get_together/templates/get_together/places/show_place.html +++ b/get_together/templates/get_together/places/show_place.html @@ -41,7 +41,7 @@ width="720" height="400" frameborder="0" style="border:0" - src="https://www.google.com/maps/embed/v1/place?key={{ settings.GOOGLE_MAPS_API_KEY }}&q={{place.name}}%2C%20{{place.address|urlencode}}&zoom=17" + src="https://www.google.com/maps/embed/v1/place?key={{ settings.GOOGLE_MAPS_API_KEY }}&q={{place.name|urlencode}}%2C%20{{place.address|urlencode}}&zoom=17" allowfullscreen>