[OpenSIPS-Devel] [OpenSIPS/opensips] b68c60: sipmsg_validate(): Allow "(" and ")" in SIP URI us...

Liviu Chircu noreply at github.com
Tue Jan 5 16:48:43 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b68c604232e109abea47726334a3830e54c064e2
      https://github.com/OpenSIPS/opensips/commit/b68c604232e109abea47726334a3830e54c064e2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-01-05 (Tue, 05 Jan 2021)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  sipmsg_validate(): Allow "(" and ")" in SIP URI usernames

According to RFC 3261:
    mark        =  "-" / "_" / "." / "!" / "~" / "*" / "'"
                   / "(" / ")"

... so both parantheses are legal within URI usernames.

(cherry picked from commit c82d074d359777197d119f314dc4892a7738a4ba)





More information about the Devel mailing list