add urlencode for location link in device view (#13076)

This commit is contained in:
Negatifff
2021-07-28 11:49:28 +03:00
committed by GitHub
parent 7c41698e4b
commit b9e6a5975f

View File

@@ -8,7 +8,7 @@
<span title="@lang('Scheduled Maintenance')" class="fa fa-wrench fa-fw fa-lg"></span>
@endif
<span style="font-size: 20px;">@deviceLink($device)</span><br/>
<a href="{{ url('/devices/location=' . $device->location) }}">{{ $device->location }}</a>
<a href="{{ url('/devices/location=' . urlencode($device->location)) }}">{{ $device->location }}</a>
</div>
<div class="pull-right">
@foreach($overview_graphs as $graph)