libwww-perl / HTML-Parser

The HTML-Parser distribution is is a collection of modules that parse and extract information from HTML documents.
Other
6 stars 13 forks source link

<meta name="twitter:card"...> (and similar) entities trip up the parser [rt.cpan.org #132922] #8

Closed oalders closed 2 years ago

oalders commented 4 years ago

Migrated from rt.cpan.org#132922 (status was 'new')

Requestors:

From fleetfootmike@gmail.com on 2020-07-01 15:53:28 :

Look alike it calls HTTP::Headers->push_header() with a constructed header name of X-Meta-Twitter:card, which obviously fails. 

From fleetfootmike@gmail.com on 2020-07-01 15:55:58 :


> Looks like it calls HTTP::Headers->push_header() with a constructed header name of X-Meta-Twitter:card, which obviously fails. 

Where 'it', obviously, its HTML::HeadParser - sorry for being unclear.
haarg commented 2 years ago

This was fixed with a8f82837f7d1aae1aca24250b13814fef062ea33 (v3.72)

oalders commented 2 years ago

@haarg so is the assumption that the person who opened this ticket was on a very old version HTML::Parser?

haarg commented 2 years ago

Actually I was wrong about the version this was fixed in. It was fixed in v3.71.

It does seem likely that the reporter of this was using an old version.

The original ticket for this issue: https://rt.cpan.org/Ticket/Display.html?id=80524

oalders commented 2 years ago

Thanks for the research!