[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The hub test fails because of missing spaces in the link header of the notification #13

Open
hashinclude opened this issue Jul 28, 2017 · 0 comments

Comments

@hashinclude
Copy link
hashinclude commented Jul 28, 2017

The notification with the following header fails -
"Link: <https://websub.rocks/hub/100/sub/HdyJyGpboUHLlf3FON1k>;rel=self,<http://pubsubhubbub.appspot.com/>;rel=hub

When a space is added after the semicolons and commas, the test passes. AFAICT, the grammar in RFC5988 spec doesn't enforce spaces.

I see that the test uses IndieWeb\http_rels to extract the links which contains the following lines
$links = explode(', ', trim(substr($f, 6)));
and
$hrefandrel = explode('; ', $link);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant