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

Fix HTTP status code when path is invalid #2294

Merged
merged 7 commits into from
Nov 19, 2021

Conversation

gmgigi96
Copy link
Member

Before when a path was invalid, the archiver returned a 500 error code.
Now this is fixed and returns a 404 code.

Closes #2292

@update-docs
Copy link

update-docs bot commented Nov 19, 2021

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@labkode labkode merged commit 9c72216 into cs3org:master Nov 19, 2021
@individual-it
Copy link
Contributor

Im missing unit tests in this PR. The only tests were have for this is in ocis, so the check if it works or has broken anything else will only happen after the next pull off Reva to ocis.
I think it would be good to add unit tests here that fail before and pass after the fix

@gmgigi96 gmgigi96 deleted the fix-status-archiver branch November 19, 2021 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

downloading an archive with invalid path returns HTTP/500
3 participants