Ticket #3135 (closed defect: invalid)
Copying/moving file to another folder with space in foldername results in error
Reported by: | post-factum | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | mc-core | Version: | 4.8.11 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Given the following tree:
mctest ├── folder 1 │ └── file.txt └── folder 2
(Note that "folder 1" and "folder 2" contain single spaces.)
In mc I enter "folder 1", select file.txt and press F5. Then in copy dialog I enter "../fol" and press Esc+Tab. mc suggests me "../folder\ ". Then I add "2" and press Enter. And the following error appears:
Cannot overwrite directory "../folder 2"
If in copy dialog I enter "../folder 2" (without screening \), everything is OK.
Moving dialog produces the same error.
Note, that in mc command line "cd" command works OK with screening \ before space.
Version info:
GNU Midnight Commander 4.8.11 Built with GLib 2.38.2 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm and Linux console With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
Change History
Note: See
TracTickets for help on using
tickets.