Closed campegg closed 1 year ago
Thanks for the report - will be fixed in next release.
Fixed in 3.1.0
- I also noticed that the WebmentionHeadMiddleware
was overwriting any pre-existing links in the headers so that's been fixed now too.
Thank you!
When sending a webmention to a site that returns multiple
link
s in the header, the resolved endpoint URL gets mashed together with otherlink
values. For example, if the site returns a header like this:The URL endpoint resolves as:
I think it has something to do with the regex in the _get_endpoint_in_http_headers function; if the string "webmention" is found in the headers, it looks like it might be matching everything from the
https
at start of the first URL until it finds the webmention URL?