projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0436f08
)
[ROSAUTOTEST]
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 26 Jul 2015 10:02:03 +0000
(10:02 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 26 Jul 2015 10:02:03 +0000
(10:02 +0000)
- 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
rostests/rosautotest/CWebService.cpp
patch
|
blob
|
history
diff --git
a/rostests/rosautotest/CWebService.cpp
b/rostests/rosautotest/CWebService.cpp
index
505e3cb
..
5041812
100644
(file)
--- 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 += "&suiteid=";
Data += SuiteID;
Data += "&log=";
- Data +=
TestInfo->Log
;
+ Data +=
EscapeString(TestInfo->Log)
;
Response.reset(DoRequest(Data));
Response.reset(DoRequest(Data));