Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to unescape or not during SIP URI parsing #4042

Closed
wants to merge 1 commit into from

Conversation

sauwming
Copy link
Member

No description provided.

@@ -404,7 +408,13 @@ static pj_status_t pjsip_url_compare( pjsip_uri_context_e context,
* This includes userinfo containing passwords or formatted as
* telephone-subscribers.
*/
if (pj_strcmp(&url1->user, &url2->user) != 0)
str[0].ptr = buf[0];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it protect this with PJSIP_UNESCAPE_WHEN_PARSING_URI when comparing unescape user part?

@sauwming
Copy link
Member Author

A different approach was adopted in #4043.

@sauwming sauwming closed this Aug 21, 2024
@sauwming sauwming deleted the sip-parser-uri branch August 21, 2024 00:13
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.

2 participants