[Users] Save attachment replacing spaces with X - alternate character requested

flyingrhino flyingrhino at orcon.net.nz
Sat May 26 00:23:55 CEST 2018


Hi,

>> > I've found an instance of email attachment that does this.
>> > And I think I've found the problem too:
>> > I am using munpack to save the attachments, so this shows where the
>> > 'X' are coming from.
>> 
>> It looks like you'd have to recompile munpack from source to change
>> that character.  The "X" is hard-coded in unixos.c, in the
>> os_newtypedfile function.
> 
> The use of X there is definitely a strange choice.. :-D.
> 

That's stupid on their part - they should have given a command line 
option to select the replacement char.
My choice would have been '_' , which is closest to space in the *nix 
world.
Thanks for the lookup, that's points me in the right direction.

Regards.



More information about the Users mailing list