mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-03 21:52:31 +09:00
B #5762: Fix scheduler message with double quotes
(cherry picked from commit 7cbcc93d43)
This commit is contained in:
1 file changed
+2
@@ -608,6 +608,8 @@ void VirtualMachineXML::log(const string &st)
|
||||
|
||||
string sched_message = oss.str();
|
||||
|
||||
sched_message = one_util::gsub(sched_message, "\"", "\\\"");
|
||||
|
||||
user_template->replace("SCHED_MESSAGE", sched_message);
|
||||
|
||||
oss.str("");
|
||||
|
||||
Reference in new issue
Block a user