rst.el does not handle spaces in filenames correctly
Bug #579252 reported by
perlhead
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-docutils (Debian) |
Fix Released
|
Unknown
|
|||
python-docutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-docutils
The function rst-compile fails to quote filenames before invoking the command, which results in the shell interpreting the filename as multiple arguments. The attached patch fixes it.
Changed in python-docutils (Debian): | |
status: | Unknown → Confirmed |
Changed in python-docutils (Debian): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
* perlhead <email address hidden>, 2010-05-12, 11:28:
>The function rst-compile fails to quote filenames before invoking the
>command, which results in the shell interpreting the filename as
>multiple arguments. The attached patch fixes it.
Your patch doesn't cope with other special characters like ", ` or $. argument.
The correct solution would be to use shell-quote-
--
Jakub Wilk