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

[stable29] fix: Use sha256 to hash arguments of background jobs #47777

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Sep 5, 2024

Backport of PR #47769

This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database.

Signed-off-by: Louis Chemineau <[email protected]>
@backportbot backportbot bot added enhancement 3. to review Waiting for reviews php Pull requests that update Php code labels Sep 5, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.7 milestone Sep 5, 2024
blizzz
blizzz previously requested changes Sep 5, 2024
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

psalm found a missing import

core/Migrations/Version28000Date20240828142927.php Fixed Show resolved Hide resolved
Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz merged commit 3c9abb0 into stable29 Sep 5, 2024
177 checks passed
@blizzz blizzz deleted the backport/47769/stable29 branch September 5, 2024 19:38
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 enhancement php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants