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

Răzvan Crainea noreply at github.com
Thu Mar 19 16:57:34 EST 2020


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4eaba78cadef2600b61603ecf251b2d8638c57c8
      https://github.com/OpenSIPS/opensips/commit/4eaba78cadef2600b61603ecf251b2d8638c57c8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-03-19 (Thu, 19 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

(cherry picked from commit f7efd44c9e796e941452d2c173bac6aec4342bb3)





More information about the Devel mailing list