Fix parsing of bad urls with ( 1915)
Fix parsing of bad urls with ( 1915): a task in repo2rlenv-commit-runtime-v2 (Harbor dataset). Title: URL with and @ in fragment parsed incorrectly, returning wrong host
The task
**Title:** URL with `#` and `@` in fragment parsed incorrectly, returning wrong host
Part of FineEnvs/repo2rlenv-commit-runtime.