[sr-dev] [tracker] Task opened: Error parsing Via parameter with space before semicolon

sip-router admin at sip-router.org
Tue Apr 19 19:05:56 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Iñaki Baz Castillo (ibc) 

Attached to Project - sip-router
Summary - Error parsing Via parameter with space before semicolon
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Very Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - The following valid Via causes a parsing error:

    Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK1aaaaa;rport;param1 ;param2<CRLF>

It occurs due to the space before ";param2".
If param2 has value (param2=abc or param2 = abc) the error also occurs.

According to RFC 3261 BNF the above Via is 100% valid as header parameters separator is SEMI which is defined as:

    SEMI    =  SWS ";" SWS
    SWS    =  [LWS]
    LWS    =  [*WSP CRLF] 1*WSP
    WSP    = SP | HTAB;

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=127

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list