### Q&A (please complete the following information) - OS: macOS - Browser: chrome - Version: 135.0.7049.115 - Method of installation: dist assets - Swagger-UI version: 5.21.0 - Swagger/OpenAPI version: OpenAPI 3.0 ### Content & configuration Example Swagger/OpenAPI definition: ```yaml #Does not matter ``` Swagger-UI configuration options: ```js //Does not matter ``` ### Describe the bug you're encountering Passing url=../swagger.json, but the link in UI become "ref=./swagger.json", the first dot gets lost! ### To reproduce... Steps to reproduce the behavior: - Just make the web server serve the `../swagger.json` - In the Swagger UI, input `../swagger.json` to the top text input field, then click the "Explore". ### Expected behavior - The link "../swagger.json" is shown, and its href should be "../swagger.json", notes the 2 dots. ### Screenshots  ### Additional context or thoughts Should be a bug of the [sanitizeUrl](https://github.com/swagger-api/swagger-ui/blob/c52ca44d0fffdbee3df637f036564ca2cb86bed8/src/core/utils/url.js#L41) function.