]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Allow spaces in quoted SSH command arguments
authorLuis A. Garcia <luis@linux.vnet.ibm.com>
Tue, 29 Oct 2013 18:44:12 +0000 (18:44 +0000)
committerLuis A. Garcia <luis@linux.vnet.ibm.com>
Tue, 29 Oct 2013 22:03:19 +0000 (22:03 +0000)
commit2737c76cb2fb436f117a4f635aebca7a01691d88
tree985fb1a51a40d1dc4ec3c6bce1f694e35e9cd370
parent75bcf70ed4698f0ffba4c6a7236a1e30b1214b57
Allow spaces in quoted SSH command arguments

The check_ssh_injection() method was rejecting arguments with spaces
even when they were quoted, this was causing problems with some volume
driver commands such as commands for a storage pool with spaces in the
name.

Closes-Bug: #1244415
Change-Id: Ie4b809e1b39fdb752cf634e6d3c0a3924d8ac52b
cinder/tests/test_utils.py
cinder/utils.py