Repository navigation
fix(025): a política de URLs privadas vale também na conexão (DNS rebinding não alcança a LAN) - #487
Merged
Merged
Conversation
…ebinding cannot reach the LAN Problema: THINKER_PROVIDER_PRIVATE_URLS só valia no cadastro; depois toda requisição aceitava IP privado (rebinding de um nome público para a LAN). Solução: custom_providers e tenant_providers guardam allow_private_destination (o que a política permitiu a quem salvou; migração 1805900000000, linhas antigas true). Proxy, playground e descoberta de modelos levam a flag até ssrfSafeFetch, cujo lookup fixado recusa IP privado/LAN/loopback quando ela é false; a política allow libera tudo. Especificações atualizadas: docs/adr/0006-organizacoes-e-papeis.md, docs/dev/guia.md, docs/usuario/configuracao.md Resolve ./tasks/025-POLITICA-DE-URL-PRIVADA-SO-NA-GRAVACAO.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shipped by scripts/ship.sh as v0.31.3.