SIGN IN SIGN UP

Validate region string format before use in URL construction (#921)

Add _validate_region() that checks region strings against ^[a-z][a-z0-9-]*$
to ensure they match the Azure region naming convention. Validation is
applied at discovery time (env var, IMDS) and before URL construction for
user-provided azure_region values.

Fixes #920

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
B
Bogdan Gavril committed
422f9e570c1aba0cfe0795651203a19cf15b7858
Parent: 2cbafaf
Committed by GitHub <noreply@github.com> on 6/16/2026, 7:23:11 PM