[OpenSIPS-Devel] [OpenSIPS/opensips] 57ca5b: 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.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 57ca5b8b5a4f326bf90a476bbe687bbbe7258af1
      https://github.com/OpenSIPS/opensips/commit/57ca5b8b5a4f326bf90a476bbe687bbbe7258af1
  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: ffa0a369b426f32c1eeff0c7b5f727068b4bc373
      https://github.com/OpenSIPS/opensips/commit/ffa0a369b426f32c1eeff0c7b5f727068b4bc373
  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/861e8dd02b8f...ffa0a369b426



More information about the Devel mailing list