[OpenSIPS-Devel] [OpenSIPS/opensips] 0e7918: cachedb_mongodb: Fix a MongoDB URI building bug

Liviu Chircu liviu at opensips.org
Wed Jun 13 10:59:47 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0e7918505ae7565ad27d2aac85d7ee5ebe06db7d
      https://github.com/OpenSIPS/opensips/commit/0e7918505ae7565ad27d2aac85d7ee5ebe06db7d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Fix a MongoDB URI building bug

When a username/password was supplied, the resulting URI would also
include the collection (e.g. "/opensipsDB.dialog"), which is not
supported by the more recent libmongoc releases anymore.

Reported by Vladimir Kuzmenok

(cherry picked from commit e4f98a6d4c830ee1f3d9b5ac5299146b005953e5)



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list