Skip to content

Commit

Permalink
Version: 3.0.2
Browse files Browse the repository at this point in the history
- Resolves [#38](#38):
  Revalidate target URLs when handling pending mentions
  - Should be unnecessary generally (they are also validated at
    discovery time when parsed from HTML) but important if validation
    checks are updated.

- Resolves [#41](#41): Find
  correct endpoint when multiple `link`s in HTTP header.

- Added `settings.WEBMENTIONS_INCOMING_TARGET_MODEL_REQUIRED` \[`bool` |
  default=`False`]. If `True`, incoming mentions are only accepted if
  their target resolves to a `MentionableMixin` instance.

- Added `settings.WEBMENTIONS_ALLOW_SELF_MENTIONS` \[`bool` |
  default=`True`].
  - If `False`, outgoing links that target your own domain (as specified
    by `settings.DOMAIN_NAME`) will be ignored - you will only submit
    mentions to other domains.
  - If `True`, outgoing links that use a relative path
    (e.g. `href="/article/1/"`) are now supported.
  • Loading branch information
beatonma committed Oct 5, 2022
1 parent 91f6c51 commit 9e2ce3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 3.0.1 (2022-10-05)
## 3.0.2 (2022-10-05)

- Resolves [#38](https://github.com/beatonma/django-wm/issues/38): Revalidate target URLs when handling pending mentions
- Should be unnecessary generally (they are also validated at discovery time when parsed from HTML) but important if validation checks are updated.
Expand Down

0 comments on commit 9e2ce3d

Please sign in to comment.