mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-07-25 10:57:37 +00:00
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/13547 Adds CGNAT IP space to the `private` builtin, and excludes it from the `external` builtin, for all allowed host lists. As private space is described in Forgejo's documentation as "LAN/Intranet", and external is described as "you can access all hosts on the public internet", it is reasonable to exclude CGNAT space which doesn't qualify under those descriptions -- it is not a globally routable IP address. Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13567 Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org> |
||
|---|---|---|
| .. | ||
| hostmatcher.go | ||
| hostmatcher_test.go | ||
| http.go | ||