Bug #10795
closedWebGUI "Dashboard -> Services Status" widget issue
100%
Description
If i use FQDN in description of openvpn service, the description line will be truncated after the first dot because:
$service_desc = explode(".",$service['description']);
For example: for desctiption «Tunnel to gw.domain.local» i will see «OpenVPN Server: Tunnel to gw»
If i use several tunnels with same text, but different FQDN (gw.domain1.local, gw.domain2.local, etc) i will see several lines in widget with same description: «OpenVPN Server: Tunnel to gw». It is impossible to understand where what tunnel
I did changed line 103 to:
$service_desc = explode(". ",$service['description']);
Dot + space instead dot only. Because sentences are normally separated by a dot and a space. And now, for example: for description «Tunnel to gw.domain.local. Some huge text...» i will see «OpenVPN Server: Tunnel to gw.domain.local». Only next sentences will be truncated.
Sorry for my English, please.
Files