Issue Details (XML | Word | Printable)

Key: DS-95
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Donohue
Reporter: Tim Donohue
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DSpace 1.x

Visiting an item page with a trailing slash returns a 404 message

Created: 17/Mar/09 04:59 PM   Updated: 17/Mar/09 05:02 PM
Component/s: XMLUI
Affects Version/s: 1.5.0, 1.5.1
Fix Version/s: 1.5.2

Time Tracking:
Not Specified


 Description  « Hide
In the XMLUI, if a person (or more likely a web spider) visits an item page with a trailing slash, a 404 message is displayed.

An example:

Suppose, that the following URL refers to a valid DSpace item page:
http://www.mydspace.edu/handle/123456789/1

Unfortunately, if you add a trailing slash, the DSpace XMLUI will return a 404 ("item not found") message:
http://www.mydspace.edu/handle/123456789/1/

The XMLUI should redirect item page URLs with a single trailing slash to the page without the trailing slash, rather than just returning a 404.

 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Tim Donohue added a comment - 17/Mar/09 05:02 PM
Fixed in DSpace 1.5.x branch of SVN