Skip to content

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

Merged
blizzz merged 3 commits into
stable28from
backport/47769/stable28
Sep 5, 2024
Merged

[stable28] fix: Use sha256 to hash arguments of background jobs#47776
blizzz merged 3 commits into
stable28from
backport/47769/stable28

Conversation

@backportbot

@backportbotbackportbotBot commented Sep 5, 2024

Copy link
Copy Markdown

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>
@backportbotbackportbotBot added enhancement 3. to review Waiting for reviews php Pull requests that update Php code labels Sep 5, 2024
@backportbotbackportbotBot added this to the Nextcloud 28.0.10 milestone Sep 5, 2024
@artonge
artongeforce-pushed the backport/47769/stable28 branch 2 times, most recently from 204d75b to ba25dafCompareSeptember 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>
@artonge
artongeforce-pushed the backport/47769/stable28 branch from ba25daf to 7f742cbCompareSeptember 5, 2024 16:09
blizzz
blizzz previously requested changes Sep 5, 2024
Comment threadcore/Migrations/Version28000Date20240828142927.php
Comment threadcore/Migrations/Version28000Date20240828142927.php Fixed
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz

blizzz commented Sep 5, 2024

Copy link
Copy Markdown
Member

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

update: actually twice and different → merging

@blizzz
blizzz merged commit 5c7f5b4 into stable28Sep 5, 2024
@blizzz
blizzz deleted the backport/47769/stable28 branch September 5, 2024 19:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsenhancementphpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@blizzz@AndyScherzinger@artonge@github-advanced-security