UI does not load artifact tabs with URL reserved characters in name
Closed this issue · 2 comments
j-setiawan commented
Description
Registry
Version: "latest"
Persistence type: "sql"
Artifact names can include URL-reserved characters like ?
, /
, etc.
In the UI, when navigating to an artifact from the list, the artifact's name is properly encoded:
But clicking on tabs (ex. Version) removes that URL encoding from the address and the page fails to load (including navigating back to the original Overview tab):
Manually fixing the URL encoding in the address fixes the issue:
Environment
Registry running in Docker via docker-compose examples.
UI using Chrome Version 130.0.6723.70 (Official Build) (arm64)
Steps to Reproduce
- Create an artifact with a URL-reserved character (ex.
?
,/
, etc.) in its name - Navigate to the artifact from the list and observe that it loads and that the name is URL encoded in the address bar
- Navigate to one of the tabs (Overview, Versions, Branches)
- Notice that the name is no longer URL encoded in the address bar and the page fails to load
- Manually URL encoding the characters in the URL and navigating to it manually works as expected
Expected vs Actual Behaviour
Page loads (artifact name is always URL encoded)
Logs
apicurio-bot commented
Thank you for reporting an issue!
Pinging @jsenko, @EricWittmann to respond or triage.
EricWittmann commented