Prevent user from entering invalid characters in hostname field

Implemented as "validator" which will cause that if an user
presses a key that is not allowed, it will not register.
Saves having to add an error message that would need to be
translated to different languages.

Closes #474
This commit is contained in:
Floris Bos 2022-08-18 20:01:42 +02:00
parent 9c95398210
commit ce0b02b823
2 changed files with 5 additions and 1 deletions

3
debian/changelog vendored
View file

@ -9,8 +9,9 @@ rpi-imager (1.7.3) unstable; urgency=medium
* Allow selecting file names without extension
* Add possibility to outsource handling of custom settings to script at
/usr/lib/raspberrypi-sys-mods/imager_custom
* Advanced settings: disallow invalid characters in hostname field
-- Floris Bos <bos@je-eigen-domein.nl> Sun, 31 Jul 2022 12:15:17 +0200
-- Floris Bos <bos@je-eigen-domein.nl> Thu, 18 Aug 2022 20:04:37 +0200
rpi-imager (1.7.2) unstable; urgency=medium