stevenvachon / broken-link-checker

Find broken links, missing images, etc within your HTML.
MIT License
1.96k stars 304 forks source link

Error: Parse Error: Invalid header value char #159

Closed BBerastegui closed 5 years ago

BBerastegui commented 5 years ago

I was testing several sites, and I found this error on one specific example:

blc --filter-level 3 --exclude-internal -r -f -o https://[REDACTED].com
RequestError: Parse Error: Invalid header value char

This seems to be a known error that can be "solved": https://github.com/nodejs/node/issues/22064#issuecomment-519675190

Environment:

stevenvachon commented 5 years ago

Do you encounter this issue when using the currently unreleased v0.8 (via git) ?

Do you have a stack trace?

I think I'd rather wait for Node.js to fix this, though.

stevenvachon commented 5 years ago

From https://github.com/nodejs/node/issues/21509#issuecomment-399781487:

The \u0001 turns into a control character when encoded to ASCII or UTF-8 and those are rejected as a security measure. That's working as expected.