trypost/app/Http
Paulo Castellano 4a08913d70 fix(security): make SSRF private-network block configurable and guard the last user-URL fetches
Add config('trypost.security.allow_private_network') (env TRYPOST_ALLOW_PRIVATE_NETWORK, default off) so self-hosted operators can reach their own internal network; only the private-IP rejection is bypassed, scheme/host checks always apply. Add SafeHttpFetcher::guardedRequest() and route the last unguarded user-supplied-URL fetches through it: the Unsplash/Giphy asset import, the API/MCP attach-media-from-URL download, and the OAuth avatar download. Our-own-storage reads (media crop, Bluesky media) are intentionally left unguarded so internal storage keeps working when self-hosted.
2026-07-17 15:40:15 -03:00
..
Controllers fix(security): make SSRF private-network block configurable and guard the last user-URL fetches 2026-07-17 15:40:15 -03:00
Middleware Replace the boolean isRtl() with a direction() accessor on ContentLanguage 2026-07-03 18:57:09 -03:00
Requests feat(bluesky): add link preview cards for posts 2026-07-17 14:32:40 -03:00
Resources fix(linkedin): show connected company page on the accounts and onboarding grids 2026-06-24 21:23:27 -03:00