pufferpanel
pufferpanel copied to clipboard
Extraction of files in the wrong place
When using the feature to unzip a file directly from the panel, the unzipped files are systematically at the root of the FS. The error would come from the api side which would ignore the "destination" value.
Example:
- Extracting the zip file: /node_modules/archive.zip
- Request to the api: http://panel.exemple/proxy/daemon/server/XXXXX/extract/node_modules/archive.zip?destination=/node_modules
- The files are located in the root instead of /node_modules/
there are limits to a get request and a / in the value is one of them
Even if the destination is url encoded, the behavior remains the same.
Behavior is the same when using "Extract Archive" button within PufferPanel web UI.