Merge pull request #626 in FS/freeswitch from ~WHENRY/freeswitch:bugfix/FS-8631 to master

* commit '2bddbf972e30933e8280227238d04a8cbf7cd004':
  FS-8631 [update regex to allow DSN to match rest of FS code]
This commit is contained in:
Anthony Minessale II 2015-12-11 13:44:00 -06:00
commit 0363be406d
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ SWITCH_LIMIT_STATUS(limit_status_db)
/* 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[] = {
SWITCH_CONFIG_ITEM("odbc-dsn", SWITCH_CONFIG_STRING, 0, &globals.odbc_dsn, NULL, &limit_config_dsn,