mirror of https://github.com/BOINC/boinc.git
- client: entity-encode client-generated notices
(e.g. they may contain XML tags) svn path=/trunk/boinc/; revision=22010
This commit is contained in:
parent
2179576c93
commit
7e060aa08a
|
@ -5259,3 +5259,11 @@ Rom 19 July 2010
|
|||
win_build/installerv2/redist/Windows/x64/
|
||||
boinccas.dll
|
||||
boinccas95.dll
|
||||
|
||||
David 19 Jul 2010
|
||||
- client: entity-encode client-generated notices
|
||||
(e.g. they may contain XML tags)
|
||||
|
||||
client/
|
||||
client_msgs.cpp
|
||||
|
||||
|
|
|
@ -81,8 +81,10 @@ void MESSAGE_DESCS::insert(PROJECT* p, int priority, int now, char* message) {
|
|||
|
||||
#ifndef SIM
|
||||
if (priority == MSG_USER_ALERT) {
|
||||
char buf[1024];
|
||||
xml_escape(message, buf, 1024);
|
||||
NOTICE n;
|
||||
n.description = message;
|
||||
n.description = buf;
|
||||
if (p) {
|
||||
strcpy(n.project_name, p->get_project_name());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue