Dear htdig-Developers,

I encountered the following problem with the versions 3.1.6 and 3.2.0.b3.
htdig cannot parse HTTP-header lines when there is no blank after the colon, 
as in content-type:text/html 

This problem may be solved by replacing the following lines in 
htnet/HtHHTP.cc:633ff

while (*token && !isspace(*token))
  token++;

while (*token && isspace(*token))
  token++;
 
 by

while (*token && 
!isspace(*token) && *token!=':')
  token++;

while (*token && (isspace(*token)||*token==':'))
  token++;


It worked for me, but I had not time to dive deep into htdig source (had to 
get it running for a customer) so please check if this is sufficient.

Regards
Frank


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to