]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8631 [update regex to allow DSN to match rest of FS code]
authorWilliam Henry <whenry@gmail.com>
Tue, 8 Dec 2015 23:51:29 +0000 (18:51 -0500)
committerWilliam Henry <whenry@gmail.com>
Tue, 8 Dec 2015 23:51:29 +0000 (18:51 -0500)
src/mod/applications/mod_db/mod_db.c

index 8df568689604fed23cdb2567512fb79a4400ae6b..f5682000dfef0144e45e66a78b36b776af786eba 100644 (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,