fix: URL-escape device IDs in the web UI

This commit is contained in:
Ginger authored and Jacob Taylor committed 2026-11-20 10:35:42 -08:00
1 parent e06bb0f2e0
commit db68679a23
1 file changed
+1 -1
@@ -23,7 +23,7 @@
</div>
<div>
{% if style != DeviceCardStyle::Detailed %}
<a href="{{ crate::ROUTE_PREFIX }}/account/device/{{ device_id }}/">Details</a>
<a href="{{ crate::ROUTE_PREFIX }}/account/device/{{ device_id | urlencode_strict }}/">Details</a>
{% endif %}
</div>
{% endif %}