mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-08-20 13:18:21 +01:00
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.