[Users] Save attachment replacing spaces with X - alternate character requested
flyingrhino
flyingrhino at orcon.net.nz
Fri May 25 01:19:09 CEST 2018
On Sat, 12 May 2018 07:16:23 +0200
wwp <subscript at free.fr> wrote:
> Hello,
>
>
> On Sat, 12 May 2018 10:58:02 +1200 flyingrhino <flyingrhino at orcon.net.nz> wrote:
>
> > When saving attachments, claws replaces spaces in the filename with 'X' .
> > Is there a config item somewhere that I can use '_' instead of 'X' ?
> > I can't seem to find it in clawsrc.
> >
> > I'm using claws 3.11.1 which is the latest on LM 17.3 repos.
>
> I'm afraid I can't reproduce this, at least not w/ a fresh Claws Mail
> version (but I doubt I would reproduce it w/ 3.11.x). It doesn't
> substitute spaces in filenames at all and I'm not aware of any
> substitution ever been done - but I may not be aware of special
> situations.
> Would you mind sharing (privately if needed) an email in order to
> reproduce?
>
>
> Regards,
>
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.
~/.claws-mail/ $ cat actionsrc
SavAtt: munpack -C ~/EmailAttachments -- %F
~/.claws-mail/ $ grep "SavAtt" menurc
; (gtk_accel_path "<MainwinActions>/Menu/Tools/Actions/SavAtt" "")
; (gtk_accel_path "<ComposeActions>/Menu/Tools/Actions/SavAtt" "")
And saving the file with the button above gives this log:
--- Ended: munpack -C ~/EmailAttachments -- "/mnt/z/home_source/sorted/ClawsMail/trash/1720"
tempdesc.txt: File exists
ASGENX558XMayX2018.pdf (application/pdf)
Here's the email:
[ASGEN 558 May 2018.pdf application/pdf (5541839 bytes)]
ASGEN 558 May 2018.pdf (application/pdf, 5.28MB):
The following can be performed on this part
by right-clicking the icon or list item:
- To save, select 'Save as...' (Shortcut key: 'Y')
- To display as text, select 'Display as text' (Shortcut key: 'T')
- To open with an external program, select 'Open' (Shortcut key: 'L')
(alternately double-click, or click the middle mouse button)
- Or use 'Open with...' (Shortcut key: 'O')
Here's 'ls -l' after :
4008 -rw------- 1 ken ken 4102400 May 18 12:49 ASGENX558XMayX2018.pdf
See the 'X' in the filename...
The attachment is quite big so I am forwarding you the message privately to avoid spamming the group.
However, it doesn't contain anything private so you can share it with anyone.
Thanks.
--
Rhinos can fly,
It's just a case of mind over matter ...
... And you need a lot of mind to control that much matter ...
More information about the Users
mailing list