Closed hostep closed 3 years ago
Hi @hostep ,
Thank you for reporting this issue. I created a fix for this issue and it also includes the change for using the var/tmp directory. It is currently internally in review.
As soon as the fix is released, i will let you know.
Hi @hostep ,
We released a new version of the plugin with a fix for this issue: https://github.com/MultiSafepay/magento2/releases/tag/2.8.0
Could you confirm if updating the plugin helped resolve this issue for you?
Thanks for the heads up @Vinod-MultiSafepay
Just upgraded the module from 2.7.1 to 2.8.1 and I can confirm that the issue is solved.
Thanks again!
Hi folks
Using:
pub
directoryWhen we go in the backend of the shop to the General Settings of the MultiSafepay module and click the "Download" button next to the "MultiSafepay payment logs" label. We get the following error:
After some debugging, it appears that the ZipArchive you are creating uses the path:
But when trying to send that file to the user, it tries to read from this path (so without the
pub
directory) and then fails:Can this be confirmed and then fixed? Also, I would suggest you use a more non-publicly accessible path like
var
orvar/tmp
in the Magento file structure, so that random visitors of the shop won't have the chance to download that file without authorization.Thanks!