Index: omaha_request_action.cc |
diff --git a/omaha_request_action.cc b/omaha_request_action.cc |
index d5b324176e6f7b4828da2d1d71247df497aea671..4c77ce02019aa2eec0a5a0c2dbc744865e1dbcc0 100644 |
--- a/omaha_request_action.cc |
+++ b/omaha_request_action.cc |
@@ -114,7 +114,7 @@ string FormatRequest(const OmahaEvent* event, |
"previousversion=\"%s\"></o:event>\n", |
OmahaEvent::kTypeUpdateComplete, |
OmahaEvent::kResultSuccessReboot, |
- prev_version.c_str()); |
+ XmlEncode(prev_version).c_str()); |
LOG_IF(WARNING, !prefs->SetString(kPrefsPreviousVersion, "")) |
<< "Unable to reset the previous version."; |
} |