]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
Utils: improve matching groups of ip/host regexes
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 1 Oct 2020 07:57:54 +0000 (09:57 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Oct 2020 08:09:41 +0000 (10:09 +0200)
commita1d40d37edb00521fad5b8d53e7677feca8e7a65
tree2cdb13f967b59e1dc312da59e321067eaae30d29
parentaa9607f128ffd887bae2a0023e30f205178bfe5e
Utils: improve matching groups of ip/host regexes

we only ever want to match the whole hostname/ip, never just some part of it
and we do not want to have the ':' as part of the port

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/Utils.js