[OpenSIPS-Devel] [OpenSIPS/opensips] f7efd4: parser/content: handle \r for Accept folding lines

Răzvan Crainea noreply at github.com
Fri Mar 13 15:36:38 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f7efd44c9e796e941452d2c173bac6aec4342bb3
      https://github.com/OpenSIPS/opensips/commit/f7efd44c9e796e941452d2c173bac6aec4342bb3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M parser/parse_content.c

  Log Message:
  -----------
  parser/content: handle \r for Accept folding lines

When receiving a heeader with folding lines, we also need to skip '\r'
when parsing the new lines. This way we can accept headers such as:
Accept: application/sdp,
	application/isup,
	multipart/mixed,
	application/dtmf,
	application/dtmf-relay

Thanks go to 46Labs for reporting this





More information about the Devel mailing list