Files
hugo/docs
Bjørn Erik Pedersen 24d5e42ffa config/security: Harden the default http.urls and resolved address checks (#15285)
The default IP-literal deny rule was case-sensitive, so an uppercase
scheme (e.g. HTTP://127.0.0.1/) slipped past it. Make it case-insensitive
like the other default rules.

CheckAllowedHTTPAddress relied on IsGlobalUnicast/IsPrivate, which admit
CGNAT (100.64.0.0/10), TEST-NET, benchmarking, reserved and IPv6
documentation ranges, and NAT64 addresses embedding an internal IPv4
address. Deny those explicitly and unwrap NAT64 before classifying.

Thanks to @0xdeadbab3 for finding and reporting this issue.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 13:29:38 +02:00
..
2026-07-03 18:03:05 +02:00

Hugo

A fast and flexible static site generator built with love by bep, spf13, and friends in Go.


Netlify Status PRs Welcome

This is the repository for the Hugo documentation site.

Please see the contributing section for guidelines, examples, and process.

Install

npm i
hugo server