Bug #820: Saveas fails if image name has spaces. Now the template is generated to deal with this case

(cherry picked from commit e92b0f2bfa)
This commit is contained in:
Ruben S. Montero committed 2011-09-24 19:56:45 +02:00
1 parent b4368c961a
commit cd49f9c6fb
1 file changed
+1 -1
+1 -1
View File
@@ -408,7 +408,7 @@ void VirtualMachineSaveDisk::request_execute(xmlrpc_c::paramList const& paramLis
// ------------------ Template for the new image ------------------
oss << "NAME= " << img_name << endl;
oss << "NAME= \"" << img_name << "\"" << endl;
oss << "PUBLIC = NO " << endl;
oss << "SOURCE = - " << endl;