diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-01 20:56:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-01 20:56:55 +0000 |
commit | ab72b53b9be62fd723a9ed921a326bd02c9dcc3a (patch) | |
tree | 2793eabb365685d6ba7d1c6fe8ab2a204ee127c2 /usr | |
parent | d5bc23324e2ab994d04625fed5c8b6a8cfc0a293 (diff) | |
download | pfsense-ab72b53b9be62fd723a9ed921a326bd02c9dcc3a.zip pfsense-ab72b53b9be62fd723a9ed921a326bd02c9dcc3a.tar.gz |
Allow _ chars.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php index 07dfe32..8183558 100755 --- a/usr/local/www/interfaces_opt.php +++ b/usr/local/www/interfaces_opt.php @@ -42,7 +42,7 @@ if (!$index) exit; function remove_bad_chars($string) { - return preg_replace('/[^a-z|0-9]/i','',$string); + return preg_replace('/[^a-z|_|0-9]/i','',$string); } $optcfg = &$config['interfaces']['opt' . $index]; |