Don't preview URLs to blocked hosts
All threads resolved!
All threads resolved!
What does this PR do?
Reject calls to /url
(the URL preview endpoint) if the requested URL points to a blocked host.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request
Merge request reports
Activity
Filter activity
added enhancement label
requested review from @puppygirlhornypost, @julia, @luna, and @dakkar
- Resolved by Hazelnoot
- Resolved by Hazelnoot
this will work nicely with my idea of getting the frontend to show links-to-AP-notes as quotes! (essentially: if the url preview says "activitypub", call
ap/show
and then patch thequote
value in the note object in the frontend)
added 59 commits
-
22965213...27339e03 - 4 commits from branch
TransFem-org:develop
- 27339e03...8613af76 - 45 earlier commits
- 1d92e2ac - remove `idea` section
- 0c8c0f90 - Update report-abuse.ts
- 94c0a37a - check harder for connectibility
- b81f3e9b - Change example config - db name and user consistent with docs
- a5896827 - Update file Dockerfile
- 93674389 - creat and chown /sharkey/files in dockerfile
- 28f9e62a - edit query
- 9d6095a2 - fix lint errors in UrlPreviewService
- 0aca29b3 - verify that preview URL is valid
- b5c35ff6 - don't generate URL previews for blocked domains
Toggle commit list-
22965213...27339e03 - 4 commits from branch
added 32 commits
-
b5c35ff6...41536480 - 29 commits from branch
TransFem-org:develop
- c48faca7 - fix lint errors in UrlPreviewService
- 4c6cec55 - verify that preview URL is valid
- 2a4c432f - don't generate URL previews for blocked domains
Toggle commit list-
b5c35ff6...41536480 - 29 commits from branch
enabled an automatic merge when all merge checks for 2a4c432f pass
mentioned in commit fadcabea
added federation label
Please register or sign in to reply