[OpenNMS/opennms] 3a1519: NMS-20004: use Guava InetAddresses for literal val...

Marshall Massengill via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/NMS-20004-IPv6ZoneIDFix-smoke/[email protected]>
  Branch: refs/heads/NMS-20004-IPv6ZoneIDFix-smoke
  Home:   https://github.com/OpenNMS/opennms
  Commit: 3a1519249350fc638a4e1e921b4f0c9fe339bbc4
      https://github.com/OpenNMS/opennms/commit/3a1519249350fc638a4e1e921b4f0c9fe339bbc4
  Author: Marshall Massengill <[email protected]>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M opennms-config/src/main/java/org/opennms/netmgt/filter/JdbcFilterDao.java

  Log Message:
  -----------
  NMS-20004: use Guava InetAddresses for literal validation in filter results

Review feedback: replace the hand-rolled IPv4/IPv6 literal regexes with
InetAddresses.isInetAddress, which never resolves hostnames and validates
more precisely. It must run on the zone-stripped address part because
Guava 31.1 rejects scoped addresses; the zone handling is unchanged.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.