Merge pull request #4800 from sbwalker/dev

fix #4795 - ensure deterministic ordering of file parts when merging files after upload (credit @HQuast)
This commit is contained in:
Shaun Walker
2024-11-04 15:29:16 -05:00
committed by GitHub

View File

@ -517,7 +517,7 @@ namespace Oqtane.Controllers
bool success = true;
using (var stream = new FileStream(Path.Combine(folder, filename + ".tmp"), FileMode.Create))
{
foreach (string filepart in fileparts)
foreach (string filepart in fileparts.Order())
{
try
{