]> 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:56:08 +0000 (15:56 +0000)
commitf4fc57cb83623b2e849070b7e90543fb32dc58b1
treec1f0bba02f9ca287e21c5fdfc72fa6073c025e7b
parent86901b3ccecb939bf8bd315ae98112688c86cb9a
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