Skip to content
Snippets Groups Projects
Commit c0dd5b1c authored by Reiner Herrmann's avatar Reiner Herrmann Committed by 🥺
Browse files

feat: URL preview support

from upstream MR https://gitlab.com/famedly/conduit/-/merge_requests/347


with the following changes (so far):
- remove hardcoded list of allowed hosts (strongly disagree with this,
even if it is desired, it should not be harcoded)
- add more allow config options for granularity via URL contains,
host contains, and domain is (explicit match) for security
- warn if a user is allowing all URLs to be previewed for security reasons
- replace an expect with proper error handling
- bump webpage to 2.0
- improved code style a tad

Co-authored-by: default avatarrooot <hey@rooot.gay>
Signed-off-by: default avatarrooot <hey@rooot.gay>
Signed-off-by: default avatarstrawberry <strawberry@puppygock.gay>
parent 6f26be1c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment