Opened 17 years ago

Last modified 17 years ago

#237 closed defect

Fix interop problem: some endpoints send ":" character in Via parameters — at Version 1

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10.4
Component: pjsip Version: 0.5.10.3
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

Some endpoints send Via parameter containing ":" character, which should not be allowed according to RFC 3261 ABNF:

Via            =  ( "Via" / "v" ) HCOLON via-parm *(COMMA via-parm)
via-parm       =  sent-protocol LWS sent-by *( SEMI via-params )
via-params     =  via-ttl / via-maddr
                  / via-received / via-branch
                  / via-extension
via-extension  =  generic-param
generic-param  =  token [ EQUAL gen-value ]
gen-value      =  token / host / quoted-string
token          =  1*(alphanum / "-" / "." / "!" / "%" / "*"
                    / "_" / "+" / "`" / "'" / "~" )

But in the spirit of robustness and for interoperability sake, lets allow this to pass.

Change History (1)

comment:1 Changed 17 years ago by bennylp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.