Skip to content

Conversation

@Andrepuel
Copy link

One of the added tests show how user would be incorrectly inferred because the original code supposed that everything until @ was the user part. The other test shows a username with a period being considered a hostname (including the at symbol). Changed how auth part of the SIP URI is parsed by using the characters as expressed by the SIP-URI part of the grammar on the section 25.1 of the SIP protocol RFC (RFC 3261).

One of the added tests show how user would be incorrectly inferred because the original code supposed that everything until @ was the user part.
The other test shows a username with a period being considered a hostname (including the at symbol).
Changed how auth part of the SIP URI is parsed by using the characters as expressed by the SIP-URI part of the grammar on the section 25.1 of the SIP protocol RFC (RFC 3261).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant