You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jjqq2013
changed the title
Passing url=../swagger.json, but the link in UI become "ref=./swagger.json", the first dot gets lost
Passed url=../swagger.json, but the link in UI become "href=./swagger.json", the first dot gets lost
May 4, 2025
jjqq2013
changed the title
Passed url=../swagger.json, but the link in UI become "href=./swagger.json", the first dot gets lost
Passed url=../swagger.json, but the href of the link in UI become ./swagger.json, the first dot gets lost
May 4, 2025
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
#Does not matter
Swagger-UI configuration options:
//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:
../swagger.json
../swagger.json
to the top text input field, then click the "Explore".Expected behavior
Screenshots
Additional context or thoughts
Should be a bug of the sanitizeUrl function.
The text was updated successfully, but these errors were encountered: