]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
fwhosts.cgi: Fixes bug#13206 - no validation of location group name
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 2 Aug 2023 20:09:55 +0000 (22:09 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Aug 2023 09:24:36 +0000 (09:24 +0000)
commitd4c30a95e7ced6be67d573f3c9938400eef49c2c
tree4298ba15fab0f0b6a84d3a8f98515f5547842c07
parent357984289d5fc37303d683b046f70b1d2e9f52c5
fwhosts.cgi: Fixes bug#13206 - no validation of location group name

- Added validation code for the location group name. This is only validated when edited
   and not when created.
- The code was copied from the section for creating the Services Group Name or the
   Network/Host Group Name.

Fixes: Bug#13206
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/fwhosts.cgi