From 7daaf75b0657231ee3fb5b7d0485c1933d4ca6d4 Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Tue, 19 Sep 2023 11:26:04 -0400 Subject: [PATCH] smart decode in extract_host --- bbot/core/helpers/misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bbot/core/helpers/misc.py b/bbot/core/helpers/misc.py index d985b67e7..9c9d6d467 100644 --- a/bbot/core/helpers/misc.py +++ b/bbot/core/helpers/misc.py @@ -929,6 +929,7 @@ def extract_host(s): >>> extract_host("[dead::beef]:22") ("dead::beef", "[", "]:22") """ + s = smart_decode(s) match = bbot_regexes.extract_host_regex.search(s) if match: