Skip to content

Discuss handling of fragments in URLs #24

Closed
kevinmarks opened this Issue Dec 17, 2015 · 3 comments

2 participants

@kevinmarks

As noted here: https://tinokremer.nl/2015/benwerd-i-figured-out-what-goes-wrong-with-webmentions-comments

Webmention handlers should strip fragments before checking if the URL is one they handle. Fragments can be used to direct the webmention to a subsection of the destination URL, and if they are fragmentions, a particular phrase.

@aaronpk
Owner
aaronpk commented Dec 17, 2015

Is it worth noting explicitly that a webmention receiver shouldn't just naively use the full target URL to look up a matching post in its "database"? This isn't really a spec issue, it's more of an implementation detail.

Note that it's still required that if the target parameter includes a fragment, then that full URL including the fragment must appear at the source URL.

@aaronpk
Owner
aaronpk commented Feb 29, 2016

This has been incorporated into the latest draft.

@aaronpk aaronpk closed this Feb 29, 2016
@aaronpk
Owner
aaronpk commented Mar 19, 2016

@kevinmarks please let me know if the current text addresses your issue: http://webmention.net/draft/#request-verification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.