1

Closed

Whitespace in Content-Encoding HTTP header

description

I have been using HtmlAgilityPack for a work project, and at one point we encountered a page that had whitespace in the value of the Content-Encoding: HTTP header line (like "iso-8859-1 "). Attached is a small bugfix to trim the text so that this isn't a problem for others.
 
Thanks,

Chris

file attachments

Closed Sep 17, 2009 at 1:13 AM by DarthObiwan

comments

cdonnellytx wrote Oct 29, 2006 at 11:40 PM

I just realized it's not specifically in the HTTP header but the tag equivalent. Either way the issue is the same, though...

Chris

DarthObiwan wrote Sep 17, 2009 at 1:10 AM

I've incorporated this fix into the 1.4.0 branch