Please update. This release fixes security problems that could be triggered by a file or folder name you
did not choose, inside an archive or on a server.
New
- Expand a folder in place. Folder rows have an arrow. Click it, or press Right, and the folder's
contents appear under it, indented. Left closes it again. The rows are ordinary rows, so you can select
across folders and copy, move, delete, rename or drag them as usual. Expanded folders stay expanded when
the list refreshes. If you would rather not have the arrows, turn off Preferences ▸ Expand arrows on
folders. This was requested in issue 2.
- Folder sizes show their share. Once a folder's size is calculated, a bar behind it shows how it
compares with the largest folder beside it. Calculated sizes are kept while you stay in the folder, and
Preferences ▸ Always calculate folder sizes does it for every folder without asking.
- A lost Founding User key can be fetched again. Claim with the same email address on
cwdio.com and the email you get links to the key you already have.
Security
- Extracting an archive could write outside the folder you chose. An archive entry named ../something
was written into the parent folder, and its parent, all the way up. A file listed that way by an SFTP or
FTP server did the same on download. Names like that are now refused.
- A folder name could run a command in the terminal. The terminal follows the panel by typing a cd.
A folder named $(calc) is a legal name on Windows, and PowerShell ran what was inside the brackets when
you stepped into it. Every path the app types into a shell is now quoted for that shell: PowerShell,
Command Prompt, bash and fish. The same applies to the command line, the launcher scripts and
editors that run in the terminal.
- A file name can no longer disguise its extension. Names containing right-to-left control characters
could make a program ending in .exe read as a PDF. Those characters are now shown as a visible mark in the file
list and in the delete and overwrite prompts.
- An FTP server could freeze or crash the app by sending a malformed folder listing. The FTP library is
updated to a version where that is fixed.
Fixed
- Undo could delete a file for good. Undoing a copy that had since failed permanently deleted whatever
was already at the destination, and undoing New folder deleted everything you had put in it afterwards.
Undo now waits to see what the operation did, cancels it if it is still running, and moves what it
removes to the recycle bin.
- A copy resumed after a crash could leave a damaged file and call it done. If cwdio was killed in the
middle of a copy, the half-written file could be accepted as complete when the queue resumed. A resumed
copy now rewrites any file it cannot prove was finished.
- A folder with a percent sign in its name broke the folder above it. A folder called 50% made its
parent fail to list with "URI malformed", and 100%41 was shown as 100A. Reported in
issue 1.
- Discarding changes in git could discard the wrong file. Discarding report[1].txt also discarded
report1.txt, because git read the brackets as a pattern. Staging and unstaging had the same problem.
- Files Windows cannot delete are no longer created. An archive containing aux.c, NUL or a name
ending in a dot used to extract a file that Explorer could not open, rename or remove. On a Windows disk
that entry is now reported as failed and everything else extracts. WSL folders are not affected.
- "Extract here" no longer says the archive is empty while the files are still being written.
- A folder selected together with the files expanded under it is copied, moved, deleted or packed once.
- Move-undo and Duplicate put files back in the folder they came from when the list is flat or expanded.
- View ▸ Folders first takes effect on the first click.
- The cursor lands on a new archive after packing, even if the folder refreshed in between.
- Find in the preview keeps its place when the file is re-read in the background.
Read this on the site: https://cwdio.com/changelog/
Full Changelog: v0.1.7...v0.1.8