]> git.maquefel.me Git - brevno-suite/hugo/commit
config: Clone language map entries before modifying them
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 21 Oct 2025 09:09:29 +0000 (11:09 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 21 Oct 2025 11:34:15 +0000 (13:34 +0200)
commita1307700dd6f64341b5e863f28807874d7c3ad9f
tree8257c6989a06ebe48db6e3a8f4a8cd428517f5a8
parent9425b939c66878c404e8eaec61ae45dbd5107c90
config: Clone language map entries before modifying them

Now, with YAML anchor and alias support, these can point to shared data,
which must not be modified in place.

Fixes #14072
common/hdebug/debug.go [new file with mode: 0644]
common/maps/params.go
config/allconfig/allconfig.go
hugolib/config_test.go