diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-06-13 18:30:25 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-06-13 21:25:35 -0300 |
commit | eb6c61154c37605842c3fed906405e3d9653f1ae (patch) | |
tree | b64715d14adeaa7739a92c46bac0235393d7f077 /src/fnettrace/static-ip-map | |
parent | util.c: check first/last char and allow extra chars (diff) | |
download | firejail-eb6c61154c37605842c3fed906405e3d9653f1ae.tar.gz firejail-eb6c61154c37605842c3fed906405e3d9653f1ae.tar.zst firejail-eb6c61154c37605842c3fed906405e3d9653f1ae.zip |
Standardize name/hostname checks
Changes:
* Use only `invalid_name` to check the name and hostname instead of
ad-hoc checks
* Standardize empty/invalid error messages for name/hostname
Note: This makes the hostname validation less strict, though it still
forbids control characters and only numbers.
Relates to #5578 #5708.
See also commit b4ffaa207 ("merges; more on cleaning up esc chars",
2023-02-14).
Diffstat (limited to 'src/fnettrace/static-ip-map')
0 files changed, 0 insertions, 0 deletions