Hi,

(Not the maintainer here, but was involved for the corresponding fix):

On Wed, Dec 31, 2014 at 02:26:12PM +0100, John D. wrote:
> Package: mime-support
> Version: 3.58
> Severity: normal
> Tags: upstream
> 
> Dear Maintainer,
> 
> when using filenames containing a space, run-mailcap with --norun prints out a
> command containing a temporary filepath. This makes the output useless.
> 
> $ echo 1 > "FOO BAR" && run-mailcap "FOO BAR" --norun
> less '/tmp/fileMcDJO5'
> 
> I would expect this:
> less '/home/stephan/FOO BAR'
> 
> as it works without spaces.
> 
> $ echo 1 > "FOOBAR" && run-mailcap "FOOBAR" --norun
> less '/home/stephan/FOOBAR'

This though is "on purpose". You see the reason for it if you add
--debug, it will say:

- filename contains shell meta-characters; aliased to '/tmp/fileTF4iXm'

and is due to the fix in https://www.debian.org/security/2014/dsa-3114

Regards,
Salvatore


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to