Skip to content

Returns canonical link with success, but is the wrong URL? #7

@jobjorn

Description

@jobjorn

Hopefully I've just missed something, but URLResolver appears to be unable to process some links correctly. For example this news article: http://www.bbc.co.uk/news/uk-politics-33686708#sa-ns_mchannel=rss&ns_source=PublicRSS20-sa

If I run URLResolver and compare it with fetching the canonical link another way as in this gist,
https://gist.github.com/jobjorn/a1c67b4eb374bc99fdea , I get different results:

URLResolver: http://www.bbc.co.uk/news/uk-politics-33686708#sa-ns_mchannel=rss&ns_source=PublicRSS20-sa
cURL and DOM: http://www.bbc.co.uk/news/uk-politics-33686708

As you can verify by looking at the article yourself, the latter one is the correct one.

Any idea what that could be about?

Regards and with thanks for your work,

Jobjörn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions