当前位置: 代码迷 >> JavaScript >> jsjac联接openfire 连接不成功
  详细解决方案

jsjac联接openfire 连接不成功

热度:206   发布时间:2013-03-27 11:22:42.0
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,