]> source.dussan.org Git - nextcloud-server.git/commit
fix: Use sha256 to hash arguments of background jobs
authorLouis Chemineau <louis@chmn.me>
Wed, 28 Aug 2024 15:03:53 +0000 (17:03 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 5 Sep 2024 15:58:45 +0000 (15:58 +0000)
commit94d307c3312a1b149f9c85f941ec54a2d4129ddb
tree8323563350590a1874e2dfff1aee0a3ddb1df8e5
parent83e6649cfa502dcad5d9a65c2691b504abcbed09
fix: Use sha256 to hash arguments of background jobs

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>
lib/private/BackgroundJob/JobList.php