Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
refactor(security): make the redirect-loop bound explicit in the for header
Paulo Castellano2815a45de80a
diff --git a/app/Services/Brand/SafeHttpFetcher.php b/app/Services/Brand/SafeHttpFetcher.phpindex 22695cc10..9c8428878 100644--- a/app/Services/Brand/SafeHttpFetcher.php+++ b/app/Services/Brand/SafeHttpFetcher.php@@ -44,7 +44,7 @@ final class SafeHttpFetcher// hop's Location target is re-validated against the SSRF guard before it is// ever requested. A public page could otherwise 302 to an internal host and// Guzzle's built-in redirect following would fetch it without re-checking.- for ($hop = 0; ; $hop++) {+ for ($hop = 0; $hop <= self::MAX_REDIRECTS; $hop++) {try {$response = Http::timeout(self::TIMEOUT_SECONDS)->withUserAgent(self::USER_AGENT)