Corporate Information | Software | Support | Contact Us
Corporate Information
Software
Messenger Pro
Messenger Pro Downloads
Beta and Archived Downloads
Evaluate
Support
Messenger Pro FAQ
Messenger Pro Change Log
Messenger Pro (Windows/Linux/Mac) Mailing List Archive
Messenger Pro (RISC OS) Mailing List Archive
Bug Tracker
Contact Us

Re: BUG: Attachments with names containing parentheses can not be opened

From:David Chapman Date:17 Jan 2020 13:53
In Reply To: BUG: Attachments with names containing parentheses can not be opened (Darren Salt)
Replies: Re: BUG: Attachments with names containing parentheses can not be opened (Frederick Bambrough)

Darren Salt <listspam@...> wrote:

> I've recently received some emails with attachments with names containing
> parentheses. MPro (2.73.6) is unable to handle this. The
> immediately-visible result is MPro reporting “unable to open”; checking in
> /tmp/gemini* shows the presence of the file.
> 
> Editing the message to remove the parentheses allows the file to be opened
> via MPro.
> 
> This looks to me like a failure to fully mangle the file name so that
> shell-special characters are properly escaped or substituted for use in a
> system() call.
> 
> Because of how system() works (invocation of /bin/sh – here, that's a
> symlink whuch points to bash, but I wouldn't like to rely on it being dash
> or bash), I prefer to use fork()+exec() (in this case, execlp() or
> execvp()) and avoid any need to do any escaping or susbstitution other
> than of directory separators.
> 

Is that the RiscOS version of MessPro as the latest other platform version
is 2.72.0.3902 I believe.

Sorry I can't comment on your problem after saying that, I have not
experienced it but I've probably never had an attachment containing brackets
either.

-- 
David Chapman

______________________________________________________________________
This message was sent via the gemini-users mailing list
To unsubscribe, mail gemini-users+unsubscribe@...



© 2024 intellegit ltd. - info@intellegit.com