MhtUnPack.wcx under Ctrl+PageDown doesn't properly recognize "file.name" in Total Commander .b64 file header

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

MhtUnPack.wcx under Ctrl+PageDown doesn't properly recognize "file.name" in Total Commander .b64 file header

Post by *beb »

Total Commander .b64 file header is:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="file.name"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="file.name"
Upon entering into a .b64 file via Ctrl+PageDown MhtUnPack.wcx (current version 2.2 of 2018) won't recognize name/filename="file.name" chopping off the last character of a file extension and rendering it just as "file.nam"
If to manually remove quotation marks around "file.name" in the header, the file name is being rendered properly:

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name=file.name
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=file.name
Just information. I don't know what to ask.
I think it's rather a plugin issue and if the author sees it, they would repair this somehow.

NB I have pretty standard in entries for MhtUnPack.wcx:

Code: Select all

[PackerPlugins]
mht=415,%commander_path%\Plugins\wcx\mht\MhtUnPack.wcx
mhtml=415,%commander_path%\Plugins\wcx\mht\MhtUnPack.wcx
msg=415,%commander_path%\Plugins\wcx\mht\MhtUnPack.wcx
b64=415,%commander_path%\Plugins\wcx\mht\MhtUnPack.wcx
uue=415,%commander_path%\Plugins\wcx\mht\MhtUnPack.wcx
xxe=415,%commander_path%\Plugins\wcx\mht\MhtUnPack.wcx
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: MhtUnPack.wcx under Ctrl+PageDown doesn't properly recognize "file.name" in Total Commander .b64 file header

Post by *Dalai »

Can't confirm with the header sample you provided. After appending some contents to the header I can confirm the observation.

It's probably best to
  • report this to the plugin author - mail address can be found in the plugin's readme file
  • move this thread to the Plugins section
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: MhtUnPack.wcx under Ctrl+PageDown doesn't properly recognize "file.name" in Total Commander .b64 file header

Post by *Fla$her »

2beb
I don't know how it was in version 2.1, but there is no such thing in version 2.0.
I don't understand why to use 415, if with 159 it is more convenient to open by Enter?
beb wrote: 2023-03-02, 10:49 UTCand if the author sees it
There is no prog_san on this forum, so you should not expect him to read this message.
Overquoting is evil! 👎
Post Reply