diff options
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | src/xml.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ +trap action=command in xml.c; remove arbitrary detection of unparsed data write SOAP methods for http.c to use clean up reconnect to lost asterisk server (socket reuse) clean up debugmsg instances to add if (debug) @@ -81,7 +81,7 @@ int _write(struct mansession *s, struct message *m) { xml_quote_string(m->headers[i], xmlescaped); lpos = xmlescaped; dpos = strstr(lpos, ": "); - if (dpos && *(lpos)!= ' ') { + if (dpos && *(lpos)!= ' ' && strlen(xmlescaped)<30 ) { strcpy(outstring, " <"); strncat(outstring, lpos, dpos-lpos); strcat(outstring, " Value=\""); |