]> git.ipfire.org Git - thirdparty/systemd.git/commit
locale-util: Restrict valid locales
authorAdrian Vovk <adrianvovk@gmail.com>
Sun, 4 Feb 2024 17:18:08 +0000 (12:18 -0500)
committerAdrian Vovk <adrianvovk@gmail.com>
Tue, 13 Feb 2024 22:31:36 +0000 (17:31 -0500)
commitfa485e8fc5adfbfce28af865c689376840562bab
tree8494f66e32f2d315eefa98145cb17f55c4aaa73b
parent592ca6f0efd80b58c318a84e4a9e75624883cfc5
locale-util: Restrict valid locales

This further restricts the charset of locales to better reflect what
locales actually look like.

This allows us to safely join locale names using the `:` character, for
instance, which cannot appear in a locale name and is used by the
`$LANGUAGE` env var
src/basic/locale-util.c