日期:2014-05-16  浏览次数:20323 次

jsjac连接openfire 连接不成功

in order to get SASL auth working with Openfire, i had to change line 369 in jsjac.js version 1.3.4 from

+'",response="'+response+'",charset="utf-8"';this.oDbg.log("response: "+rPlain,2);this._sendRaw(""

to

+'",response="'+response+'",charset="utf-8" ';this.oDbg.log("response: "+rPlain,2);this._sendRaw(""

I added a whitespace after charset="utf-8"

Im not sure if this is an JSJaC or Openfire bug, but i though i let you know as it fixed this problem for me.

Thanks for the great work with JSJac,