indieweb / indieweb/mention-client-php
discoverWebmentionEndpoint returns nothing if link (in HTML) not enclosed in quotes
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 105
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
I've got this case where an endpoint ( `` in the page's HTML) is not discovered if not explicitly wrapped in (double?) quotes.
Not yet sure if an issue with this library (although it seems like it could improve in this regard, too) or the mf2/mf2 parser, which I'm including, too ...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at discoverWebmentionEndpoint and reproduce the reported case, then inspect how the included mf2 parser handles an unquoted href. Confirm whether the library or parser is responsible; done means the endpoint is discovered for valid unquoted HTML, with coverage for the case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100