[Pidgin] #8466: Wrong parsing/escaping of usernames containing '@'.

Pidgin trac at pidgin.im
Thu Feb 19 10:14:16 EST 2009


#8466: Wrong parsing/escaping of usernames containing '@'.
--------------------+-------------------------------------------------------
 Reporter:  maniax  |           Owner:  seanegan
     Type:  defect  |          Status:  new     
Component:  SIMPLE  |         Version:  2.5.2   
 Keywords:          |   Launchpad_bug:          
--------------------+-------------------------------------------------------
 Hi,

 When I try to use pidgin with an opensips SIMPLE service, and have '@' in
 my username, it fails - I get a '400 Bad request' back. Here are two
 registers, one is the wrong one (from pidgin), the other one is the
 working one (from zoiper communicator):
 (they use separate accounts, both of which work, the first one is k at k.com,
 the second one vasil.kolev at securax.org)



 REGISTER sip:k.com at sip.zoiper.com SIP/2.0
 Via: SIP/2.0/UDP 0.0.0.0:5060;branch=z9hG4bK087865B976CDA64BF71F
 From: <sip:k at k.com@sip.zoiper.com>;tag=2609047030;epid=1234567890
 To: <sip:k at k.com@sip.zoiper.com>
 Max-Forwards: 10
 CSeq: 1 REGISTER
 User-Agent: Purple/2.5.2
 Call-ID: BCCCgDAB7aCE27i220Dm4259t129Bb63D2xA5BFx
 Contact: <sip:k at 0.0.0.0:5060;transport=udp>;methods="MESSAGE, SUBSCRIBE,
 NOTIFY"
 Expires: 900
 Content-Length: 0


 REGISTER sip:sip.zoiper.com;transport=UDP SIP/2.0
 Via: SIP/2.0/UDP 89.253.129.130:5062;branch=z9hG4bK-d8754z-
 58362c794d182c0a-1---d8754z-;rport
 Max-Forwards: 70
 Contact:
 <sip:vasil.kolev%40securax.org at 89.253.129.130:5062;rinstance=cf3b1643de961320;transport=UDP>
 To:
 "vasil.kolev at securax.org"<sip:vasil.kolev%40securax.org at sip.zoiper.com;transport=UDP>
 From:
 "vasil.kolev at securax.org"<sip:vasil.kolev%40securax.org at sip.zoiper.com;transport=UDP>;tag=13a5232e
 Call-ID: NTI3YjFiYjljYzBjOTBkZTlkMTFlOGQzZGVmYTQzOTQ.
 CSeq: 1 REGISTER
 Expires: 3600
 Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO,
 SUBSCRIBE
 User-Agent: Zoiper rev.2964
 Allow-Events: presence
 Content-Length: 0

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8466>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list