You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And JSR 289 (section 4.2.1) says:
"Likewise, string values passed to setters for various SIP/SIPS URI
components may contain reserved or excluded characters that need
escaping before being used. The container is responsible for escaping
those values as necessary."
But when we run the following code:
SipURI uri = (SipURI)sipFactory.createURI("sip:[email protected]");
uri.setHeader("email", "[email protected]");
mLogger.debug("4) uri="+uri);
And JSR 289 (section 4.2.1) says:
"Likewise, string values passed to setters for various SIP/SIPS URI
components may contain reserved or excluded characters that need
escaping before being used. The container is responsible for escaping
those values as necessary."
But when we run the following code:
SipURI uri = (SipURI)sipFactory.createURI("sip:[email protected]");
uri.setHeader("email", "[email protected]");
mLogger.debug("4) uri="+uri);
it prints:
The correct result would have been:
uri=sip:[email protected]?email=alice%40priv.com
The text was updated successfully, but these errors were encountered: