Skip to content

[stable30] fix: Use sha256 to hash arguments of background jobs#47778

Merged
blizzz merged 2 commits intostable30from
backport/47769/stable30
Sep 5, 2024
Merged

[stable30] fix: Use sha256 to hash arguments of background jobs#47778
blizzz merged 2 commits intostable30from
backport/47769/stable30

Conversation

@backportbot
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 <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
@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 30.0.1 milestone Sep 5, 2024
@blizzz blizzz modified the milestones: Nextcloud 30.0.1, Nextcloud 30 Sep 5, 2024
@blizzz blizzz merged commit 289e5d7 into stable30 Sep 5, 2024
@blizzz blizzz deleted the backport/47769/stable30 branch September 5, 2024 18:03
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