[OpenSIPS-Devel] [OpenSIPS/opensips] f53fdf: parser/content: handle \r for Accept folding lines
Răzvan Crainea
noreply at github.com
Fri Mar 13 15:36:58 EST 2020
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: f53fdfd25d5839f2a6e7bcfaf6608d4ebfb2613a
https://github.com/OpenSIPS/opensips/commit/f53fdfd25d5839f2a6e7bcfaf6608d4ebfb2613a
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
(cherry picked from commit f7efd44c9e796e941452d2c173bac6aec4342bb3)
More information about the Devel
mailing list