[Pidgin] #9689: The hash calculation for file transfer does not normalize JIDs

Pidgin trac at pidgin.im
Wed Jul 15 15:01:43 EDT 2009


#9689: The hash calculation for file transfer does not normalize JIDs
--------------------------+-------------------------------------------------
 Reporter:  zak           |     Owner:  rekkanoryo
     Type:  defect        |    Status:  new       
Component:  unclassified  |   Version:  2.5.8     
 Keywords:                |  
--------------------------+-------------------------------------------------
 A developer from Psi and myself just found out why a file transfer could
 not be established with Pidgin:

 When trying to send a file with Jabber/XMPP (in my case from Psi) to
 someone using Pidgin (2.5.8), an hash value will be calculated according
 to [1]. The JID which is needed for this calculation is not normalized, so
 different hashes may occur.

 If I (Psi) have for example user at jabber.org to whom I want to send a file
 to, but the user entered "User at jabber.org" in his account settings, the
 hashes will be different ('User' != 'user'), so no connection could be
 established.

 Solution: When Pidgin calculates the hashes, the values should be
 normalized.

 [1]http://xmpp.org/extensions/xep-0065.html#proto-establish

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


More information about the Tracker mailing list