提交 4f58b282 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix FSCORE-45

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5625 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 c806a20d
......@@ -951,8 +951,8 @@ static int preprocess(const char *file, int write_fd, int rlevel)
char *arg, *e;
char *bp = expand_vars(buf, ebuf, sizeof(ebuf), &cur);
/* we ignore <include> or </include> for the sake of validators */
if (strstr(buf, "<include>") || strstr(buf, "</include>")) {
/* we ignore <include> or </include> for the sake of validators as well as <?xml version="1.0"?> type stuff */
if (strstr(buf, "<include>") || strstr(buf, "</include>") || strstr(buf, "<?")) {
continue;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论