1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge pull request #2799 from bgilmore/develop

Fixes #2798: URL encode physical_address in links
This commit is contained in:
Jeremy Stretch
2019-01-18 09:18:00 -05:00
committed by GitHub

View File

@ -139,7 +139,7 @@
<td>
{% if site.physical_address %}
<div class="pull-right">
<a href="http://maps.google.com/?q={{ site.physical_address|oneline }}" target="_blank" class="btn btn-primary btn-xs">
<a href="http://maps.google.com/?q={{ site.physical_address|oneline|urlencode }}" target="_blank" class="btn btn-primary btn-xs">
<i class="glyphicon glyphicon-map-marker"></i> Map it
</a>
</div>