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

[stable23] fix: Only throttle on invalid requests for public share links #41810

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Nov 28, 2023

Fix a false backport from #35652 where the throttle happened on the success case instead of when the token is invalid

On stable24 and later this is correct

https://github.com/nextcloud/server/blob/5b08f8481c7520b509f9d51d9adfda6caad44171/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php#L80C1-L95

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr changed the title fix: Only throttle on invalid requests for public share links [stable23] fix: Only throttle on invalid requests for public share links Nov 28, 2023
@juliusknorr juliusknorr added bug 3. to review Waiting for reviews labels Nov 28, 2023
@juliusknorr juliusknorr merged commit 66fe5f9 into stable23 Nov 29, 2023
24 of 28 checks passed
@juliusknorr juliusknorr deleted the bugfix/stable23/throttle-share-link branch November 29, 2023 10:54
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 bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants