Use Python3 'ipaddress' module to validate the IPv4 and IPv6 addresses. Branch ------ master
Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7a0bfecfc5ac6034cb183bf41a8fa07be81fecfe Author: Cyril Jouve <jv.cy...@gmail.com> Modified Files -------------- .../browser/server_groups/servers/__init__.py | 12 ++--- .../servers/tests/test_is_valid_address.py | 40 ++++++++++++++ web/pgadmin/browser/server_groups/servers/utils.py | 9 ++++ web/pgadmin/utils/ip.py | 61 ---------------------- 4 files changed, 55 insertions(+), 67 deletions(-)