ZIP File uncompressed with wrong name in Documents tools
I have a ZIP file named
dir-to-upload.zip (literally), containing a directory
dir-to-upload. When uploading with "Uncompress zip", the file gets unzipped as
to- part is gone).
Steps to reproduce:
$ mkdir dir-to-upload $ echo content > dir-to-upload/index.html $ zip -r dir-to-upload.zip dir-to-upload adding: dir-to-upload/ (stored 0%) adding: dir-to-upload/index.html (stored 0%)
dir-to-upload gets created on the server.
dir-upload gets created on the server.
Note: the problem seems specific to this file name. Changing it to
dirtoupload, the problems goes away.
Observed on campus.chamilo.org. I don't get the bug on my local 220.127.116.11 installation.
Updated by Julio Montoya almost 3 years ago
Matthieu Moy wrote:
I didn't know about https://1.10.chamilo.org/. Which version is it running?
Latest version of 1.10.x