-
Notifications
You must be signed in to change notification settings - Fork 530
Custom URL using non-Latin characters prevents item page rendering, triggers repeated /server/api requests #5337
Copy link
Copy link
Open
Labels
DSpace-CRIS mergerThis ticket/PR relates to the merger of DSpace-CRIS into DSpace.This ticket/PR relates to the merger of DSpace-CRIS into DSpace.blockerThis ticket or PR will block whatever release milestone is associated with it.This ticket or PR will block whatever release milestone is associated with it.bughelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Description
Describe the bug
When dspace.customurl contains non-Latin characters (e.g., Cyrilic or Arabic), the item page fails to load in the UI and remains in an infinite loading state. The browser repeatedly triggers requests to /server/api.
This bug can be recreated in sandbox.dspace.org, as well as in localhost.
If the custom URL does not exist, the UI correctly routes to the /404 page.
The /server/api/core/items/search/findByCustomURL?q=NON-LATIN-CHARACTERS responses themselves appear valid and return successful results.
To Reproduce
- Create or edit an Item.
- Set
dspace.customurlusing non-Latin characters. For example, typeالصحراء(Sahara) orснеговик(snowman). - Save and/or deposit the Item.
- Attempt to access the Item using its custom URL, e.g.
https://sandbox.dspace.org/items/الصحراء - Observe the UI behavior: infinite loading state and repeated
/server/apirequests in the browser network tab.
Expected behavior
The item page should load successfully when accessed via a custom URL containing non-Latin characters.
Related work
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DSpace-CRIS mergerThis ticket/PR relates to the merger of DSpace-CRIS into DSpace.This ticket/PR relates to the merger of DSpace-CRIS into DSpace.blockerThis ticket or PR will block whatever release milestone is associated with it.This ticket or PR will block whatever release milestone is associated with it.bughelp wantedNeeds a volunteer to claim to move forwardNeeds a volunteer to claim to move forward
Type
Projects
Status
📋 To Do
Status
📋 To Do