Modified to tolerate formated XML documents.
This commit is contained in:
parent
a6c1f3eac0
commit
f2b9c95d89
@ -403,9 +403,8 @@ AuthRespCharDataHandler(
|
|||||||
{
|
{
|
||||||
DbgTrace(2, "-AuthRespCharDataHandler- Start\n", 0);
|
DbgTrace(2, "-AuthRespCharDataHandler- Start\n", 0);
|
||||||
|
|
||||||
// Just exit if being called to process LF and CR characters
|
// Just exit if being called to process white space
|
||||||
if (len == 1
|
if (*s == '\n' || *s == '\r' || *s == '\t' || *s == ' ')
|
||||||
&& ((*s == '\n') || (*s == '\r')))
|
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
@ -310,9 +310,8 @@ AuthPolicyCharDataHandler(
|
|||||||
|
|
||||||
DbgTrace(2, "-AuthPolicyCharDataHandler- Start\n", 0);
|
DbgTrace(2, "-AuthPolicyCharDataHandler- Start\n", 0);
|
||||||
|
|
||||||
// Just exit if being called to process LF and CR characters
|
// Just exit if being called to process white space
|
||||||
if (len == 1
|
if (*s == '\n' || *s == '\r' || *s == '\t' || *s == ' ')
|
||||||
&& ((*s == '\n') || (*s == '\r')))
|
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
@ -369,9 +369,8 @@ GetAuthPolicyRespCharDataHandler(
|
|||||||
{
|
{
|
||||||
DbgTrace(2, "-GetAuthPolicyRespCharDataHandler- Start\n", 0);
|
DbgTrace(2, "-GetAuthPolicyRespCharDataHandler- Start\n", 0);
|
||||||
|
|
||||||
// Just exit if being called to process LF and CR characters
|
// Just exit if being called to process white space
|
||||||
if (len == 1
|
if (*s == '\n' || *s == '\r' || *s == '\t' || *s == ' ')
|
||||||
&& ((*s == '\n') || (*s == '\r')))
|
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
@ -400,9 +400,8 @@ GetAuthTokenRespCharDataHandler(
|
|||||||
{
|
{
|
||||||
DbgTrace(2, "-GetAuthTokenRespCharDataHandler- Start\n", 0);
|
DbgTrace(2, "-GetAuthTokenRespCharDataHandler- Start\n", 0);
|
||||||
|
|
||||||
// Just exit if being called to process LF and CR characters
|
// Just exit if being called to process white space
|
||||||
if (len == 1
|
if (*s == '\n' || *s == '\r' || *s == '\t' || *s == ' ')
|
||||||
&& ((*s == '\n') || (*s == '\r')))
|
|
||||||
{
|
{
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user