From: Thomas Faber Date: Sun, 26 Jul 2015 10:02:03 +0000 (+0000) Subject: [ROSAUTOTEST] X-Git-Tag: ReactOS-0.4.0~1446 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=e6d1e200490e0626ac99c50bc8ec7bbe21b6bc7a;hp=0436f085972d93c7685ce7d33cf0c941d689c92b [ROSAUTOTEST] - When directly submitting the results to the web service, make sure to URL-encode the test log, or & signs will terminate the log and make Testman see the test as crashed (and have all other kinds of possible consequences) svn path=/trunk/; revision=68578 --- diff --git a/rostests/rosautotest/CWebService.cpp b/rostests/rosautotest/CWebService.cpp index 505e3cb5d78..5041812abb7 100644 --- a/rostests/rosautotest/CWebService.cpp +++ b/rostests/rosautotest/CWebService.cpp @@ -234,7 +234,7 @@ CWebService::Submit(const char* TestType, CTestInfo* TestInfo) Data += "&suiteid="; Data += SuiteID; Data += "&log="; - Data += TestInfo->Log; + Data += EscapeString(TestInfo->Log); Response.reset(DoRequest(Data));