groissen left a comment (kamailio/kamailio#4435)
Yeah, my bad - GitHub seems to have stripped the `<...>` part.
Here is the corrected example:
`To: "Max Example" <sip:[email protected]>;tag=abc`
While parsing, the state machine might still encounter a '"' token after it
already transitioned to URI_ENCLOSED.
Without the `case URI_ENCLOSED; break; ` guard, the parser hits the default
branch and log.
The URI_ENCLOSED treats the case as a no-operation, making sure the parser
ignores the quote character when already inside the `<...>`.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4435#issuecomment-3409648751
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4435/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!