File with invalid name inside archive

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

File with invalid name inside archive

Post by *roentgen »

I try to unpack a file from a mbox archive (or any archive type for what matters) which (the file inside) has an invalid name.

In this specific case the archive doesn't support renaming files inside, which I wouldn't want to do in the first place anyway.

Shouldn't there be a possibility to rename on the fly the extracted file?
TC for Linux please!
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Nice to have but... Is there a chance that this "invalidity" is the effect of no Unicode support? If yes than it will be partially solved in TC 7.5.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Is there a chance that this "invalidity" is the effect of no Unicode support?
No, it seems it's because the filename contains "" (ESC)
TC for Linux please!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed it would be the job of the plugin to ensure that the file name passed to CreateFile is valid. TC just passes the file name to the plugin as it was reported by the plugin.
Author of Total Commander
https://www.ghisler.com
Post Reply