[commit] r6290 - freeswitch/trunk/src
15 Nov
2007
15 Nov
'07
9:13 p.m.
Author: anthm Date: Thu Nov 15 16:13:49 2007 New Revision: 6290 Modified: freeswitch/trunk/src/switch_xml.cpp Log: tweak Modified: freeswitch/trunk/src/switch_xml.cpp ============================================================================== --- freeswitch/trunk/src/switch_xml.cpp (original) +++ freeswitch/trunk/src/switch_xml.cpp Thu Nov 15 16:13:49 2007 @@ -1018,7 +1018,10 @@ } } - if ((tcmd = (char *)switch_stristr("<X-pre-process", bp))) { + if ((tcmd = (char *)switch_stristr("X-pre-process", bp))) { + if (*(tcmd-1) != '<') { + continue; + } if ((e = strstr(tcmd, "/>"))) { *e += 2; *e = '\0';
6930
Age (days ago)
6930
Last active (days ago)
0 comments
1 participants
participants (1)
-
Freeswitch SVN