#64 closed enhancement (fixed)
Allow whitespaces at the end of SDP lines
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-0.5.10 |
Component: | pjmedia | Version: | 0.5.9 |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description (last modified by bennylp)
Some UAs (non-compliant UAs, I might say) have a bad habit of adding whitespaces at the end of SDP lines. This is non-conformant, of course, but in the spirit of "be lenient on what you receive", the SDP parser should probably forgive this.
Thanks Briac Hardouin for pointing this out.
Change History (4)
comment:1 Changed 18 years ago by bennylp
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 18 years ago by bennylp
More fix in r901.
comment:3 Changed 18 years ago by bennylp
- Description modified (diff)
comment:4 Changed 18 years ago by bennylp
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
Done in r889:
Basically the approach in SDP parsing is: "Get only what you need and ignore anything else". Which means after we get all we need from an SDP line, ignore whatever else that is coming after that until newline is found.