From b0b5516a9d1597a7f8e3bd41918800dbf336e9b9 Mon Sep 17 00:00:00 2001 From: Christian Sahlmann Date: Thu, 4 Jan 2024 17:06:33 +0100 Subject: [PATCH] validate that `to` url contains a hostname --- mb_netmgmt/__init__.py | 2 +- mb_netmgmt/__main__.py | 9 ++++++++- test/test_mb_netmgmt.py | 11 +++++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/mb_netmgmt/__init__.py b/mb_netmgmt/__init__.py index 25f0d29..70a2ded 100644 --- a/mb_netmgmt/__init__.py +++ b/mb_netmgmt/__init__.py @@ -18,7 +18,7 @@ # along with mb-netmgmt. If not, see