Use literal quotes in Update.xml UpdateCommand
Previously we escaped quotes in <UpdateCommand>...</UpdateCommand> values using '"'. This is not necessary because the value is in xml CDATA and not an xml attribute.
This commit is contained in:
parent
4ce7ffbfc5
commit
a4cdd73636
@ -258,7 +258,8 @@ int cmCTestUpdateHandler::ProcessHandler()
|
|||||||
<< this->CTest->GetTestModelString() << "</BuildStamp>" << std::endl;
|
<< this->CTest->GetTestModelString() << "</BuildStamp>" << std::endl;
|
||||||
os << "\t<StartDateTime>" << start_time << "</StartDateTime>\n"
|
os << "\t<StartDateTime>" << start_time << "</StartDateTime>\n"
|
||||||
<< "\t<StartTime>" << start_time_time << "</StartTime>\n"
|
<< "\t<StartTime>" << start_time_time << "</StartTime>\n"
|
||||||
<< "\t<UpdateCommand>" << cmXMLSafe(vc->GetUpdateCommandLine())
|
<< "\t<UpdateCommand>"
|
||||||
|
<< cmXMLSafe(vc->GetUpdateCommandLine()).Quotes(false)
|
||||||
<< "</UpdateCommand>\n"
|
<< "</UpdateCommand>\n"
|
||||||
<< "\t<UpdateType>" << cmXMLSafe(
|
<< "\t<UpdateType>" << cmXMLSafe(
|
||||||
cmCTestUpdateHandlerUpdateToString(this->UpdateType))
|
cmCTestUpdateHandlerUpdateToString(this->UpdateType))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user