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

[stable28] fix: Use sha256 to hash arguments of background jobs #47776

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Sep 5, 2024

Backport of #47769

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

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>
@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 28.0.10 milestone Sep 5, 2024
@artonge artonge force-pushed the backport/47769/stable28 branch 2 times, most recently from 204d75b to ba25daf Compare September 5, 2024 16:08
@artonge artonge marked this pull request as ready for review September 5, 2024 16:09
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
Copy link
Member

blizzz commented Sep 5, 2024

test failed three times, but cannot be relevant to the changes

update: actually twice and different → merging

@blizzz blizzz merged commit 5c7f5b4 into stable28 Sep 5, 2024
54 of 56 checks passed
@blizzz blizzz deleted the backport/47769/stable28 branch September 5, 2024 19:40
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