[OpenSIPS-Devel] [opensips] Improve qvalue parsing (#790)

Liviu Chircu notifications at github.com
Fri Feb 12 16:34:05 CET 2016


According to `RFC 3261`:

> qvalue         =  ( "0" [ "." 0*3DIGIT ] )
>                         / ( "1" [ "." 0*3("0") ] )

This means that `1.` and `0.` qvalues MUST be supported. This PR corrects this problem.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/790

-- Commit Summary --

  * Improve qvalue parsing

-- File Changes --

    M cfg.y (16)
    M error.c (4)
    M error.h (3)
    M qvalue.c (12)
    M qvalue.h (4)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/790.patch
https://github.com/OpenSIPS/opensips/pull/790.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/790
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160212/df1e29ee/attachment.htm>


More information about the Devel mailing list