[OpenSIPS-Devel] [OpenSIPS/opensips] 2ebd84: CacheDB: Fix URL parser bugs with multiple hosts

Liviu Chircu noreply at github.com
Wed Nov 16 08:52:19 UTC 2022


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2ebd84e5f430d99597ac2da06f04b0905620ce71
      https://github.com/OpenSIPS/opensips/commit/2ebd84e5f430d99597ac2da06f04b0905620ce71
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M cachedb/cachedb_id.c
    M cachedb/test/test_cachedb.c

  Log Message:
  -----------
  CacheDB: Fix URL parser bugs with multiple hosts

Although support for CACHEDB_ID_MULTIPLE_HOSTS has been in there for a
long time, URLs such as "redis:ha://h1,h2,h3:6379" were not correctly
parsed.

(cherry picked from commit bacb776cc90d8532d58f360e276a00977da15fad)


  Commit: d3df2e2b6435a809c4999f76d140779a46135cb2
      https://github.com/OpenSIPS/opensips/commit/d3df2e2b6435a809c4999f76d140779a46135cb2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M cachedb/cachedb_id.c
    M cachedb/test/test_cachedb.c

  Log Message:
  -----------
  CacheDB: Allow "," in URL passwords

Many thanks to @xuxin010033 for the report!

Fixes #2786

(cherry picked from commit f904694120ae6bea23bd12c14becd353a8071962)


Compare: https://github.com/OpenSIPS/opensips/compare/3e851796a5b1...d3df2e2b6435



More information about the Devel mailing list