Skip to content

Conversation

@mejo-
Copy link
Member

@mejo- mejo- commented Jul 9, 2024

📝 Summary

Also adjust 404 error message in create api function in case of NotPermittedException. We don't want to distinguish between missing permissions and nonexisting files to not reveal that the file exists.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

mejo- added 2 commits July 9, 2024 11:07
Also adjust 404 error message in create api function in case of
NotPermittedException. We don't want to distinguish between missing
permissions and nonexisting files to not reveal that the file exists.

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- added this to the Nextcloud 30 milestone Jul 9, 2024
@mejo- mejo- requested review from blizzz and juliusknorr July 9, 2024 09:20
@mejo- mejo- self-assigned this Jul 9, 2024
@mejo-
Copy link
Member Author

mejo- commented Jul 9, 2024

/backport to stable29

@mejo- mejo- merged commit cfb9236 into main Jul 9, 2024
@mejo- mejo- deleted the fix/return_codes branch July 9, 2024 10:23
@mejo-
Copy link
Member Author

mejo- commented Jul 9, 2024

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants