cloudpanel-io / cloudpanel-ce

1.21k stars 99 forks source link

File manager uploads to wrong site #428

Closed sorin-coza closed 4 months ago

sorin-coza commented 7 months ago

CloudPanel version(s) affected

2.4.1

Description

The file manager switches its context based on a cookie (I think?), so if a large upload is in progress in one site, and then we open a new browser window and go to another site's file manager, and assuming the upload finishes now, the file upload will be uploaded to this second site.

How to reproduce

I think this scenario is very realistic when someone manages multiple sites, and has to upload large files.

Possible Solution

Need to make the file manager aware of where the upload was first started.

Additional Context

No response

cloudpanel-io commented 4 months ago

Thanks for reporting it. We will check this in detail and get it fixed in the versions.