Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSpace responds "soft 404" #2981

Closed
GarrafaGalactica opened this issue Apr 25, 2024 · 2 comments
Closed

DSpace responds "soft 404" #2981

GarrafaGalactica opened this issue Apr 25, 2024 · 2 comments
Labels
bug duplicate needs triage New issue needs triage and/or scheduling

Comments

@GarrafaGalactica
Copy link

Describe the bug
When you enter to "/handle/something/something/discover" responds with a 200 status code, but it doesn't find anything. It doesn't matter if the handle exists. We discovered this error because some bots with old DSpace 6 links were trying this URL non-stop since it responds with a 200 status code. I don't know why this error doesn't occur in https://demo.dspace.org/

To Reproduce
Steps to reproduce the behavior:

  1. Go to your local DSpace installation or try in (https://sandbox.dspace.org)
  2. Go to /handle/1234/1234/discover (replace "1234" whit the handle you want)
    imagen
  3. See the HTTP response
    imagen

Expected behavior
If DSpace is going to respond that the handle was not found, it should respond 404, not 200

@GarrafaGalactica GarrafaGalactica added bug needs triage New issue needs triage and/or scheduling labels Apr 25, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Triage in DSpace Backlog Apr 25, 2024
@alanorth
Copy link
Contributor

alanorth commented Apr 26, 2024

@GarrafaGalactica this sounds very similar to the issue which was solved in #2816. The patch was only merged a few days ago and might have fixed this.

@tdonohue
Copy link
Member

tdonohue commented May 1, 2024

Yes, I believe this is a duplicate of #2817. It's already been fixed in 7.6.x and 8.x and the new behavior can be seen on https://demo.dspace.org or https://sandbox.dspace.org

Closing as a duplicate.

@tdonohue tdonohue closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
@github-project-automation github-project-automation bot moved this from 🆕 Triage to ✅ Done / Closed in DSpace Backlog May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug duplicate needs triage New issue needs triage and/or scheduling
Projects
Status: Done / Closed
Development

No branches or pull requests

3 participants