4Science / DSpace

This repository contains the 4Science optimized DSpace & DSpace-CRIS distribution.
https://wiki.lyrasis.org/display/DSPACECRIS/
BSD 3-Clause "New" or "Revised" License
42 stars 61 forks source link

Custom URL with slash makes the item unaccessible #403

Open olli-gold opened 9 months ago

olli-gold commented 9 months ago

Describe the bug When an item has a custom URL with a slash inside (for example "slash/example"), the item cannot be displayed any longer on the frontend. When you try to access such an item, you'll just get an error 404. It's also impossible to edit the item and to get into the administrative options - so it's very hard (or even impossible) to remove the custom URL on the frontend.

To Reproduce Steps to reproduce the behavior:

  1. Create a custom URL with a slash for an item
  2. Get this item in a browser
  3. You will probably see a 404 page

Expected behavior The item should be displayed normally

Related work I'm not aware of any related work about that