mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-07-07 22:05:06 +01:00
3c9af57d26
Add-on repositories can pin a branch with the "url#branch" syntax. The branch part of the repository regex only accepted word characters, hyphens and dots, so a branch with a slash like "feature/hot-new-stuff" failed to match and the repository was rejected as invalid. Git branch names commonly use prefixes such as "feature/" or "fix/", so allow slashes in the captured branch name.