Nautilus scripts can't handle file/foldernames containing % character
Bug #1665878 reported by
Michael Kuster
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at-spi2-core (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This bug affects Ubuntu 14.04.5 and 16.04.1, most likely all others
If a file/foldername contains the % character, the script won't run as espected if you use $1 or $@ to get the arguments for the script:
If the file name is 'filename %123.xxx' you will get 'filename 23.xxx' as the argument $1.
The bug can be demonstated with this simple script:
#!/bin/bash
#path: ~/.local/
zenity --window-icon=info --info --title="Info" --text="If there is a % in the filename, you can see than \
here goes something wrong: \n\n'$1'\n'$(echo ${NAUTILUS_
To post a comment you must log in.