]> git.ipfire.org Git - ipfire-2.x.git/commit - html/cgi-bin/ovpnmain.cgi
ovpnmain.cgi: Fix for bug #12865 - Static IP address pools - Add network - Name with...
authorAdolf Belka <adolf.belka@ipfire.org>
Fri, 24 Jun 2022 21:58:56 +0000 (23:58 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 25 Jun 2022 09:14:22 +0000 (09:14 +0000)
commitdcc2f7e0f2887e6c15e29971a4d27ecccac884f4
tree845b815e85679ef3286ccec184e621abd3ab6e4b
parentde6ef4d40adec7e1093b73c4397f042e830db15e
ovpnmain.cgi: Fix for bug #12865 - Static IP address pools - Add network - Name with space

- The fix for bug #12428 removed spaces from the validhostname subroutine as hostnames are
   not supposed to have spaces
- This resulted in spaces no longer being allowed for the Static IP Address Pools names
- New subroutine created called validccdname in general-functions.pl

Fixes: Bug #12865
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
html/cgi-bin/ovpnmain.cgi