Commits
Armands Arseniuss Skolmeisters authored and Andris Mednis committed 0538343823cM
...G...PS. [ZBX-27336] improved DNS name validation in <ip> parameter for net.tcp.port[], net.tcp.service*[], net.udp.service*[] items * commit 'a629d040b96bc7a4af30f1f016c4777928446ebf': (60 commits) .......... [ZBX-27336] silenced linter warning in getDevRecords() ...G...... [ZBX-27336] fixed linter warning in IsRFCExtendedHostName() .......... [ZBX-27336] silenced linter warning gocognit in IsRFCExtendedHostName() ...G...... [ZBX-27336] fixed host name validation in IsRFCExtendedHostName(), added unit tests .......... [ZBX-27336] added ChangeLog entry .......... [ZBX-27336] fixed unit tests ...G...PS. [ZBX-27336] allowed trailing dot in host names in zbx_is_rfc_extended_hostname(), IsRFCExtendedHostName() ...G...PS. [ZBX-27336] added comments in zbx_is_rfc_extended_hostname(), IsRFCExtendedHostName() ...G...PS. [ZBX-27336] renamed functions: zbx_is_rfc_hostname() to zbx_is_rfc_extended_hostname(), IsRFCHostName() to IsRFCExtendedHostName() ...G...... [ZBX-27336] fixed coding style in IsRFCHostName() ...G...... [ZBX-27336] allowed underscore character in host name in IsRFCHostName(), added unit test ...G...PS. [ZBX-27336] allowed underscore character in host name in zbx_is_rfc_hostname(), added unit test ...G...... [ZBX-27336] fixed IsRFCHostName() coding style ...G...... [ZBX-27336] fixed IsRFCHostName() to reject purely numeric host names, added unit tests ...G...PS. [ZBX-27336] fixed detection of purely numeric host name in zbx_is_rfc_hostname(), added unit test ...G...PS. [ZBX-27336] fixed zbx_is_rfc_hostname() to reject purely numeric host names, updated unit tests ...G...PS. [ZBX-27336] removed redundant include in src/libs/zbxsysinfo/simple/simple.c ...G...... [ZBX-27336] fixed order of functions in src/go/pkg/inet/hostname.go to meet coding guidelines ...G...... [ZBX-27336] fixed order and names of unit tests in Test_IsRFCHostName() to meet coding guidelines ...G...... [ZBX-27336] fixed comments for IsRFCHostName() ...
Showing diff toa629d040b96