Skip to content

[stable28] fix: Trigger same logic as login failure when Bearer token is not valid - #67324

Open
backportbot[bot] wants to merge 8 commits into
stable28from
backport/67318/stable28
Open

backportbot[bot] wants to merge 8 commits into
stable28from
backport/67318/stable28

Conversation

@backportbot

@backportbot backportbot Bot commented Dec 1, 2026

Copy link
Copy Markdown

Backport of PR #67318

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Dec 1, 2026
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Not all sessions cookie ids are in DB by design, so it cannot count as
 bruteforce to not find them.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc self-assigned this Dec 2, 2026
@come-nc come-nc changed the title [stable28] [stable34] [stable35] fix: Trigger same logic as login failure when Bearer token is not valid [stable28] fix: Trigger same logic as login failure when Bearer token is not valid Dec 2, 2026
Some applications manage their own bearer token so we cannot consider
 missing token as bruteforce.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Also aligned a few things with master

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Possible performance regression detected

Show Output
530 queries added

= /remote.php/dav/files/test
= /remote.php/dav/files/test/test.txt
= /remote.php/dav/files/test/many_files
= /remote.php/dav/files/test/new_file.txt
= /remote.php/dav/files/test/new_file.txt
= /remote.php/dav/files/test
= /remote.php/dav/files/test/test.txt
= /remote.php/dav/files/test/many_files
= /remote.php/dav/files/test/new_file.txt
= /remote.php/dav/files/test/new_file.txt
+ /remote.php/dav/files/test added with 42 queries
+ /remote.php/dav/files/test/test.txt added with 30 queries
+ /remote.php/dav/files/test/many_files added with 43 queries
+ /remote.php/dav/files/test/new_file.txt added with 58 queries
+ /remote.php/dav/files/test/new_file.txt added with 92 queries
+ /remote.php/dav/files/test added with 42 queries
+ /remote.php/dav/files/test/test.txt added with 30 queries
+ /remote.php/dav/files/test/many_files added with 43 queries
+ /remote.php/dav/files/test/new_file.txt added with 58 queries
+ /remote.php/dav/files/test/new_file.txt added with 92 queries

1 similar comment
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Possible performance regression detected

Show Output
530 queries added

= /remote.php/dav/files/test
= /remote.php/dav/files/test/test.txt
= /remote.php/dav/files/test/many_files
= /remote.php/dav/files/test/new_file.txt
= /remote.php/dav/files/test/new_file.txt
= /remote.php/dav/files/test
= /remote.php/dav/files/test/test.txt
= /remote.php/dav/files/test/many_files
= /remote.php/dav/files/test/new_file.txt
= /remote.php/dav/files/test/new_file.txt
+ /remote.php/dav/files/test added with 42 queries
+ /remote.php/dav/files/test/test.txt added with 30 queries
+ /remote.php/dav/files/test/many_files added with 43 queries
+ /remote.php/dav/files/test/new_file.txt added with 58 queries
+ /remote.php/dav/files/test/new_file.txt added with 92 queries
+ /remote.php/dav/files/test added with 42 queries
+ /remote.php/dav/files/test/test.txt added with 30 queries
+ /remote.php/dav/files/test/many_files added with 43 queries
+ /remote.php/dav/files/test/new_file.txt added with 58 queries
+ /remote.php/dav/files/test/new_file.txt added with 92 queries

This branch has not been deployed

No deployments
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.

2 participants