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

chore(404): Extend 404 error message to mention possibly missing permissions #37932

Merged
merged 1 commit into from Apr 26, 2023

Conversation

marcelklehr
Copy link
Member

@marcelklehr marcelklehr commented Apr 26, 2023

Summary

We sometimes return a 404 when the user doesn't have permission to view a file, to avoid leaking the information that the file exists. To avoid confusing users, let's add that information to the message.

Checklist

…issions

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr marcelklehr changed the title chore(404): Extend 404 error message to mention possibly missing perm… chore(404): Extend 404 error message to mention possibly missing permissions Apr 26, 2023
@szaimen szaimen added the 3. to review Waiting for reviews label Apr 26, 2023
@szaimen szaimen added this to the Nextcloud 27 milestone Apr 26, 2023
@marcelklehr
Copy link
Member Author

CI failure unrelated

@marcelklehr marcelklehr merged commit 32219ec into master Apr 26, 2023
36 of 37 checks passed
@marcelklehr marcelklehr deleted the fix/404-page branch April 26, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants