-
Notifications
You must be signed in to change notification settings - Fork 187
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
Invalid link responds with HTTP 200 status code #4442
Comments
I added issue owncloud/core#40313 in core to get some API test coverage of this - I don't see any tests that do this at present, so that is why we have not noticed this difference between oC10 and oCIS. |
This one is tricky. I argue that it doesn't make sense to have a 404 when requesting |
I agree with @C0rby |
okay |
Describe the bug
An invalid link shows correct in the web UI (
An error occurred while loading the public link
), responds with HTTP 200 status code.Steps to reproduce
Steps to reproduce the behavior:
curl
Expected behavior
I'd expect a HTTP error code, similar as in oC10
Actual behavior
Invalid link responds with HTTP 200 status code:
Setup
https://ocis.owncloud.com/
Additional context
Add any other context about the problem here.
@dragotin FYI
The text was updated successfully, but these errors were encountered: