Correctly escape command line parameters
----------------------------------------
Key: NXP-8733
URL: https://jira.nuxeo.com/browse/NXP-8733
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.5
Reporter: Thomas Roger
Assignee: Thomas Roger
Priority: Major
Fix For: 5.5.0-HF02, 5.6
Special characters in command line parameters are not escaped:
{noformat}
( ' " & ) .
{noformat}
This cause the following ERROR:
{noformat}
2012-01-24 13:15:13,150 ERROR [org.nuxeo.log4j.ThreadedStreamGobbler] /bin/sh:
-c: line 0: syntax error near unexpected token `('
2012-01-24 13:15:13,258 ERROR [org.nuxeo.log4j.ThreadedStreamGobbler] /bin/sh:
-c: line 0: `ffmpeg -i
"/opt/nuxeo/nuxeo-cap-5.5-tomcat/tmp/cmdLineBasedConverter3220179744884324380Elias
Aseff Alfonso talks about Salvador Gonzales Escalona in Callejon de Hamel
(Cuba).avi" -s 720x480 -acodec libfaac -vcodec libx264 -v 0
/opt/nuxeo/nuxeo-cap-5.5-tomcat/tmp/convertToMP4_1327428911597/EliasAseffAlfonsotalksaboutSalvadorGonzalesEscalonainCallejondeHamel(Cuba).mp4
2>&1'
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets