feat: W3C Webmention compliance (v2.7.0)
Sending: RFC 8288 Link header parsing, rel token matching and document order for <link>/<a>, endpoint re-discovery on every send, re-send to previous targets on update/delete/undelete, 410 Gone for deleted notes, no redirect following on the POST, 429 retried. Receiving: exact target match per media type, Accept header, final URL for relative links, only published notes accepted, fragments ignored, moderation kept on updates, transient errors keep valid mentions. Security: every redirect hop SSRF-checked, all resolved addresses checked, broader blocklist, total time and size limits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0cfc9965df
commit
4aaa7a8122
16 files changed
+895
-356
No files matched your search
+1
-1
@@ -185,7 +185,7 @@
|
||||
<div class="webmention webmention-mention">
|
||||
<a href="{{ mention.source_url }}">{{ mention.author_name or mention.source_url }}</a>
|
||||
{% if mention.content_snippet %}
|
||||
<p>{{ mention.content_snippet|truncate(200) }}</p>
|
||||
<p>{{ mention.content_snippet|striptags|truncate(200) }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in new issue
Block a user