[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#950319: libreoffice: filename replacements in mime entries for mailcap must not be quoted within the given command



found 950319 1:5.2.3~rc1-3
thanks

Hi,

On Fri, Jan 31, 2020 at 11:47:29AM +0100, Frank Loeffler wrote:
> Using mutt, I created a new email, added an attachment with a file name
> containing spaces (a pptx file, thus libreoffice), and without sending

no, MS Office. Which LibreOffice happens to be registered for.

> What happened is that, as it should, mutt properly quoted whatever it
> was replacing %s with, in that case using single quote. So, in effect,
> the following command was executed:
> 
> 
> soffice --nologo --writer ''file with spaces''
> 
> And since '' is starting and immediately ending the quotation,
> libreoffice saw three arguments.
> 
>    * What outcome did you expect instead?
> 
> The filename should have been given as one argument to libreoffice.

Just that mutt is one thing. Maybe mutt does it correct, but
unfortunately mutt users are not really the majority, people use
thunderbird or evolution or so...

(I use mutt, but via ssh, and no X on that rpi3 anyways.)

> Following #928037 and references therein, I believe that the correct
> solution is to not use '%s' in the mime files distributed with the
> Debian packages: it should just be a simple %s, no quotes. Quoting is
> the task of the program replacing %s.

Did you check thunderbird and evolution?

Regards,

Rene


Reply to: