Tk Library Source Code

View Ticket
Login
Ticket UUID: 3381002
Title: Tkchat announces wrong hash in XEP-0115 Entity Capabilities
Type: Bug Version: None
Submitter: quantifier Created on: 2011-07-28 14:28:31
Subsystem: tclapps :: tkchat Assigned To: patthoyts
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2012-01-24 03:35:38
Resolution: Fixed Closed By: patthoyts
    Closed on: 2012-01-23 20:35:38
Description:
Patch that fixes missing "<" :

Index: tkchat.tcl
===================================================================
RCS file: /cvsroot/tcllib/tclapps/apps/tkchat/tkchat.tcl,v
retrieving revision 1.486
diff -u -r1.486 tkchat.tcl
--- tkchat.tcl  17 May 2011 23:27:19 -0000      1.486
+++ tkchat.tcl  28 Jul 2011 12:37:38 -0000
@@ -8475,7 +8475,7 @@
     # extended feature processing as well (order counts)
     append S "urn:xmpp:dataforms:softwareinfo<"
     append S "os<$tcl_platform(os)<"
-    append S "os_version<$tcl_platform(osVersion)"
+    append S "os_version<$tcl_platform(osVersion)<"
     append S "software<tkchat<software_version<$tkchatver<"
     return [base64::encode -maxlen 0 [sha1::sha1 -bin $S]]
 }
User Comments: patthoyts added on 2012-01-24 03:35:38:

allow_comments - 1

Applied patch.