mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Improve influxdb database name validation
This commit is contained in:
parent
e3ee0d5a1b
commit
15cb890b19
1 changed files with 1 additions and 1 deletions
|
|
@ -1385,7 +1385,7 @@ function printStatsTimeseries()
|
|||
ntop.delCache("ntopng.prefs.influx_dbname")
|
||||
end
|
||||
prefsInputFieldPrefs(subpage_active.entries["influxdb_dbname"].title, subpage_active.entries["influxdb_dbname"].description,
|
||||
"ntopng.prefs.", "influx_dbname", product:gsub(' ' , '_'), nil, influx_active, nil, nil, {pattern="[^\\s]+"})
|
||||
"ntopng.prefs.", "influx_dbname", product:gsub(' ' , '_'), nil, influx_active, nil, nil, {pattern="[A-z,0-9,_]+"})
|
||||
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_influx_auth",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue