[OpenSIPS-Devel] [OpenSIPS/opensips] 9f3998: parse_uri: Complete commit cf95355290

Liviu Chircu noreply at github.com
Thu Sep 15 14:13:16 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f3998174f34552bd315ef8698e745feb6bedb4a
      https://github.com/OpenSIPS/opensips/commit/9f3998174f34552bd315ef8698e745feb6bedb4a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-09-15 (Thu, 15 Sep 2022)

  Changed paths:
    M parser/parse_uri.c
    M parser/test/test_parser.c

  Log Message:
  -----------
  parse_uri: Complete commit cf95355290

Fix a regression introduced with the last fix, where a password like
"65536" would get rejected as "invalid URI port" due to the temporary
parsing of the port in case the URI does not contain a "user" part at
all.

Add enough unit tests to cover all these URI formatting corner-cases.





More information about the Devel mailing list