Files
supervisor/tests/api
6947d8b2b2 Strip whitespace from repository URLs in store validation (#7161)
* Strip whitespace from repository URLs in store validation

* Reject repository URLs containing internal whitespace

Tighten RE_REPOSITORY so the URL group rejects whitespace that
.strip() cannot fix, failing validation with a clear error instead of
an unclear git clone failure later. Also parametrize the existing add
repository API test instead of duplicating it and collapse the strip
test cases into one mixed-whitespace case.

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
2026-08-24 15:48:48 +02:00
..