From 8b7aa7640c751e0011b1016502d4385bc5a0ac5d Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Thu, 7 Jul 2022 12:27:32 -0400 Subject: [PATCH] Branch names can contain periods (#3721) --- supervisor/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/validate.py b/supervisor/validate.py index 4323c6511..f5e7ba3d6 100644 --- a/supervisor/validate.py +++ b/supervisor/validate.py @@ -42,7 +42,7 @@ from .const import ( from .utils.validate import validate_timezone # Move to store.validate when addons_repository config removed -RE_REPOSITORY = re.compile(r"^(?P[^#]+)(?:#(?P[\w\-]+))?$") +RE_REPOSITORY = re.compile(r"^(?P[^#]+)(?:#(?P[\w\-.]+))?$") RE_REGISTRY = re.compile(r"^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$") # pylint: disable=no-value-for-parameter