mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
Added urldecode for ports in API to deal with slashes in port names
This commit is contained in:
@@ -215,7 +215,7 @@ function get_graph_by_port()
|
||||
$router = $app->router()->getCurrentRoute()->getParams();
|
||||
$device_id = $router['id'];
|
||||
$vars = array();
|
||||
$vars['port'] = $router['port'];
|
||||
$vars['port'] = urldecode($router['port']);
|
||||
$vars['type'] = $router['type'] ?: 'port_bits';
|
||||
if(!empty($router['from']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user