mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
File manager uploads to wrong site #267
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sorin-coza on 2/9/2024
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