commit ff6d79005f517bb58f9f28a8187aa26fa1dbd64d
Author: Luis A. Garcia <email address hidden>
Date: Tue Oct 29 18:44:12 2013 +0000
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.
Note that this backport also fixes a typo that has been fixed separately
in master with commit eb0f2e4dd538a79184efbb23d7e404147dfe877b .
Closes-Bug: #1244415
Change-Id: Ie4b809e1b39fdb752cf634e6d3c0a3924d8ac52b
(cherry picked from commit 2737c76cb2fb436f117a4f635aebca7a01691d88)
Reviewed: https:/ /review. openstack. org/54762 github. com/openstack/ cinder/ commit/ ff6d79005f517bb 58f9f28a8187aa2 6fa1dbd64d
Committed: http://
Submitter: Jenkins
Branch: stable/havana
commit ff6d79005f517bb 58f9f28a8187aa2 6fa1dbd64d
Author: Luis A. Garcia <email address hidden>
Date: Tue Oct 29 18:44:12 2013 +0000
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.
Note that this backport also fixes a typo that has been fixed separately 184efbb23d7e404 147dfe877b .
in master with commit eb0f2e4dd538a79
Closes-Bug: #1244415 752cf634e6d3c0a 3924d8ac52b f117a4f635aebca 7a01691d88)
Change-Id: Ie4b809e1b39fdb
(cherry picked from commit 2737c76cb2fb436