"Dashboard -> Services Status" widget issue
-
If i use FQDN in description of openvpn service, the line will be truncated after the first dot because:
$service_desc = explode(".",$service['description']);
https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/widgets/widgets/services_status.widget.php
line 103For example: for desctiption «Tunnel to gw.domain.local» i will see «OpenVPN Server: Tunnel to gw»
I did changed line 103 to:
$service_desc = explode(". ",$service['description']);
Dot + space instead dot only. Because sentences are normaly 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»
Sorry for my English, please.