FS-8631 [update regex to allow DSN to match rest of FS code]
This commit is contained in:
parent
b91a1017e2
commit
2bddbf972e
|
@ -272,7 +272,7 @@ SWITCH_LIMIT_STATUS(limit_status_db)
|
||||||
|
|
||||||
/* INIT / Config */
|
/* INIT / Config */
|
||||||
|
|
||||||
static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "^pgsql|^odbc|^sqlite|[^:]+:[^:]+:.+" };
|
static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "^pgsql|^odbc|^sqlite|[^:]+:[^:]*:.*" };
|
||||||
|
|
||||||
static switch_xml_config_item_t config_settings[] = {
|
static switch_xml_config_item_t config_settings[] = {
|
||||||
SWITCH_CONFIG_ITEM("odbc-dsn", SWITCH_CONFIG_STRING, 0, &globals.odbc_dsn, NULL, &limit_config_dsn,
|
SWITCH_CONFIG_ITEM("odbc-dsn", SWITCH_CONFIG_STRING, 0, &globals.odbc_dsn, NULL, &limit_config_dsn,
|
||||||
|
|
Loading…
Reference in New Issue