Package: gqview
Version: 2.0.1-1

For gqview custom "Editors", where a gqview runs a user configurable
command line, %p seems to expand to
"<file name>"
then the command is passed to bash.  Since double quotes are used, shell
meta characters are interpreted.

Because of this bug, a file named 'foobar.jpg' will work in a command,
but a file named 'foo$bar.jpg' will fail because the program to execute
will get the file name 'foo.jpg' (because the environment variable $bar
has and empty value in the bash shell).

Please assume single quotes around the file name (backwards compatible
fix), or assume no quotes and let the user place the quotes in the
command manually, such as:

Rotate jpeg counterclockwise
if jpegtran-mmx -rotate 270 -copy all -outfile '%p_tmp' '%p'; then mv '%p_tmp' 
'%p'; else rm '%p_tmp'; fi




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to