mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixed #9002 - PPPoE Service Name may contain ':'
This commit is contained in:
parent
9386784480
commit
dac4cd0969
@ -829,8 +829,9 @@ if ($_POST['apply']) {
|
||||
$input_errors[] = gettext("A valid IPv6 gateway must be specified.");
|
||||
}
|
||||
}
|
||||
if (($_POST['provider'] && !is_domain($_POST['provider']))) {
|
||||
$input_errors[] = gettext("The service name contains invalid characters.");
|
||||
|
||||
if (($_POST['provider'] && (strpos($_POST['provider'], "\"")))) {
|
||||
$input_errors[] = gettext("The service name may not contain quote characters.");
|
||||
}
|
||||
if (($_POST['pppoe_idletimeout'] != "") && !is_numericint($_POST['pppoe_idletimeout'])) {
|
||||
$input_errors[] = gettext("The idle timeout value must be an integer.");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user