see: can't handle files with spaces in name

Bug #1440383 reported by Anton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mime-support (Debian)
Fix Released
Unknown
mime-support (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

'see' command can't open files if they contains spaces in their name - they are not escaped and so it will try to open several files with incorrect names.

How to reproduce:
$ touch 'test test.pdf'
$ see 'test test.pdf'

Result: it will open atril twice with 'Error opening file: No such file or directory' message.

Also, if filename will contain at least one bracket everything will work fine, eg:

$ touch 'test test[.pdf'
$ see 'test test[.pdf'

That command will open only one instance of atril.

Reproduced in 'mime-support 3.54ubuntu1.1'.

Tags: mime trusty
Anton (an-lar)
tags: added: trusty
Anton (an-lar)
affects: ubuntu-mate → mime-support (Ubuntu)
Revision history for this message
Anton (an-lar) wrote :
Changed in mime-support (Debian):
status: Unknown → Fix Released
Changed in mime-support (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.