mirror of
https://github.com/home-assistant/iOS.git
synced 2026-06-16 04:16:39 -05:00
## Summary - normalize manually entered server URLs by stripping path, query, and fragment while preserving port and authority - use the normalized base URL for onboarding auth and for the stored manual server URL - add tests covering auth URL construction, discovered manual URLs, and the shared URL helper ## Root cause Manual onboarding appended /auth/authorize to the full user-entered URL. If the user entered a frontend route like /lovelace/0, the auth flow loaded /lovelace/0/auth/authorize and never reached the expected callback.