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

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


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d31a0d09da8d0f248ab7fb93a7a903efc3b7627d
      https://github.com/OpenSIPS/opensips/commit/d31a0d09da8d0f248ab7fb93a7a903efc3b7627d
  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: a8e16576c24816d459188b972af73b49bf9ec5e6
      https://github.com/OpenSIPS/opensips/commit/a8e16576c24816d459188b972af73b49bf9ec5e6
  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/73fe193d9c92...a8e16576c248



More information about the Devel mailing list